Package com.massifmaps.styles
Class BillboardStyle
java.lang.Object
com.massifmaps.styles.Style
com.massifmaps.styles.BillboardStyle
- Direct Known Subclasses:
LabelStyle,MarkerStyle,NMLModelStyle,PopupStyle
A base class for BillboardStyle subclasses.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the animation style of the billboard.floatReturns the horizontal attaching anchor point of the billoard.floatReturns the vertical attaching anchor point of the billoard.floatReturns the horizontal offset of the billboard.intReturns the placement priority of the billboard.floatReturns the vertical offset of the billboard.booleanReturns the state of the causes overlap flag.booleanReturns the state of the allow overlap flag.booleanReturns the state of the scale with DPI flag.
-
Method Details
-
getAttachAnchorPointX
public float getAttachAnchorPointX()Returns the horizontal attaching anchor point of the billoard.- Returns:
- The horizontal attaching anchor point of the billoard.
-
getAttachAnchorPointY
public float getAttachAnchorPointY()Returns the vertical attaching anchor point of the billoard.- Returns:
- The vertical attaching anchor point of the billoard.
-
isCausesOverlap
public boolean isCausesOverlap()Returns the state of the causes overlap flag.- Returns:
- True if this billboard causes overlapping with other billboards behind it.
-
isHideIfOverlapped
public boolean isHideIfOverlapped()Returns the state of the allow overlap flag.- Returns:
- True if this billboard can be hidden by overlapping billboards in front of it.
-
getHorizontalOffset
public float getHorizontalOffset()Returns the horizontal offset of the billboard.- Returns:
- The horizontal offset of the billboard, units depend on the scaling mode.
-
getVerticalOffset
public float getVerticalOffset()Returns the vertical offset of the billboard.- Returns:
- The vertical offset of the billboard, units depend on the scaling mode.
-
getPlacementPriority
public int getPlacementPriority()Returns the placement priority of the billboard.- Returns:
- The placement priority of the billboard.
-
isScaleWithDPI
public boolean isScaleWithDPI()Returns the state of the scale with DPI flag.- Returns:
- True if this billboard's size will be scaled using the screen dot's per inch parameter.
-
getAnimationStyle
Returns the animation style of the billboard.- Returns:
- The animation style of the billboard. Can be null if animations are not used.
-