Package com.massifmaps.styles
Class LabelStyle
java.lang.Object
com.massifmaps.styles.Style
com.massifmaps.styles.BillboardStyle
com.massifmaps.styles.LabelStyle
- Direct Known Subclasses:
TextStyle
A style for labels. Contains attributes for configuring how the label is drawn on the screen.
-
Method Summary
Modifier and TypeMethodDescriptionfloatReturns the horizontal anchor point of the label.floatReturns the vertical anchor point of the label.intReturns the orientation mode of the label.floatReturns the relative rendering scale of the label.intReturns the scaling mode of the label.booleanReturns the state of the flippable flag.Methods inherited from class com.massifmaps.styles.BillboardStyle
getAnimationStyle, getAttachAnchorPointX, getAttachAnchorPointY, getHorizontalOffset, getPlacementPriority, getVerticalOffset, isCausesOverlap, isHideIfOverlapped, isScaleWithDPI
-
Method Details
-
getAnchorPointX
public float getAnchorPointX()Returns the horizontal anchor point of the label.- Returns:
- The horizontal anchor point of the label.
-
getAnchorPointY
public float getAnchorPointY()Returns the vertical anchor point of the label.- Returns:
- The vertical anchor point of the label.
-
isFlippable
public boolean isFlippable()Returns the state of the flippable flag.- Returns:
- True if the label is flippable.
-
getOrientationMode
public int getOrientationMode()Returns the orientation mode of the label.- Returns:
- The orientation mode of the label.
-
getScalingMode
public int getScalingMode()Returns the scaling mode of the label.- Returns:
- The scaling mode of the label.
-
getRenderScale
public float getRenderScale()Returns the relative rendering scale of the label.- Returns:
- The relative rendering scale of the label.
-