public interface MarkerImage
Modifier and Type | Method and Description |
---|---|
Point |
getAnchor() |
Point |
getOrigin() |
Size |
getScaledSize() |
Size |
getSize() |
java.lang.String |
getUrl() |
void |
setAnchor(Point anchor)
Sets the position at which to anchor an image in correspondence to the location of the marker on the map.
|
void |
setOrigin(Point origin)
Sets the position of the image within a sprite, if any.
|
void |
setScaledSize(Size scaledSize)
Sets the size of the entire image after scaling, if any.
|
void |
setSize(Size size)
Sets the display size of the sprite or image.
|
void |
setUrl(java.lang.String url)
Sets the URL of the image or sprite sheet.
|
java.lang.String getUrl()
void setUrl(java.lang.String url)
url
- urlSize getSize()
void setSize(Size size)
size
- sizePoint getOrigin()
void setOrigin(Point origin)
origin
- originPoint getAnchor()
void setAnchor(Point anchor)
anchor
- anchorSize getScaledSize()
void setScaledSize(Size scaledSize)
scaledSize
- size