public class IlvMapImage extends IlvMapArea
| Modifier and Type | Field and Description |
|---|---|
ImageProducer |
imageProducer
The
ImageProducer of the image. |
IlvCoordinate |
lowerRightCorner
The lower-right corner of the image.
|
IlvCoordinate |
upperLeftCorner
The upper-left corner of the image.
|
| Constructor and Description |
|---|
IlvMapImage()
Initializes an instance of the class.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(IlvCoordinate coordinate)
Returns
true if coordinate is contained in the object. |
Rectangle2D |
getBounds(Rectangle2D result)
Returns the bounds of this
IlvMapGeometry |
Image |
getImage()
Retrieves the image set by the
setImage method. |
IlvMapCurve |
getOutline()
Returns the curve that represents the outline of this image.
|
RenderedImage |
getRenderedImage()
Retrieves the
RenderedImage
set by the setRenderedImage method. |
void |
setImage(Image image)
Sets the
Image for this geometry. |
void |
setRenderedImage(RenderedImage image)
Sets the
RenderedImage for this geometry. |
public IlvCoordinate upperLeftCorner
public IlvCoordinate lowerRightCorner
public ImageProducer imageProducer
ImageProducer of the image.public void setImage(Image image)
Image for this geometry.
If a non-null image is set, the renderer will use this image
to produce an IlvIcon instead of using
the ImageProducer of the IlvMapImage
geometry.image - The Image.public Image getImage()
setImage method.setImage(java.awt.Image)public void setRenderedImage(RenderedImage image)
RenderedImage for this geometry.
If a non-null image is set, the renderer will use this image
to produce an IlvIcon instead of using
the ImageProducer of the IlvMapImage
geometry.image - The RenderedImage.public RenderedImage getRenderedImage()
RenderedImage
set by the setRenderedImage method.setRenderedImage(java.awt.image.RenderedImage)public boolean contains(IlvCoordinate coordinate)
true if coordinate is contained in the object.contains in class IlvMapAreacoordinate - The point to be checked.true if coordinate is contained
in the object.public IlvMapCurve getOutline()
getOutline in class IlvMapAreapublic Rectangle2D getBounds(Rectangle2D result)
IlvMapGeometrygetBounds in class IlvMapGeometry© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.