Class FeatureTilePointIcon
java.lang.Object
mil.nga.geopackage.tiles.features.FeatureTilePointIcon
Point icon in place of a drawn circle
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCenter the icon on the pointintGet the heightandroid.graphics.BitmapgetIcon()Get the iconintgetWidth()Get the widthfloatGet the x offsetfloatGet the y offsetvoidpinIcon()Pin the icon to the point, lower middle on the pointvoidsetXOffset(float xOffset) Set the x offsetvoidsetYOffset(float yOffset) Set the y offset
-
Constructor Details
-
FeatureTilePointIcon
public FeatureTilePointIcon(android.graphics.Bitmap icon) Constructor- Parameters:
icon- icon bitmap
-
-
Method Details
-
pinIcon
public void pinIcon()Pin the icon to the point, lower middle on the point -
centerIcon
public void centerIcon()Center the icon on the point -
getIcon
public android.graphics.Bitmap getIcon()Get the icon- Returns:
- icon bitmap
-
getWidth
public int getWidth()Get the width- Returns:
- icon width
-
getHeight
public int getHeight()Get the height- Returns:
- icon height
-
getXOffset
public float getXOffset()Get the x offset- Returns:
- x offset
-
setXOffset
public void setXOffset(float xOffset) Set the x offset- Parameters:
xOffset- x offset
-
getYOffset
public float getYOffset()Get the y offset- Returns:
- y offset
-
setYOffset
public void setYOffset(float yOffset) Set the y offset- Parameters:
yOffset- y offset
-