Package com.massifmaps.styles
Class LineStyle
java.lang.Object
com.massifmaps.styles.Style
com.massifmaps.styles.LineStyle
A style for lines. Contains attributes for configuring how the line is drawn on the screen.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the bitmap of the line.floatReturns the width of the line used for click detection.intReturns the end point type of the line.intReturns the join type of the line.floatReturns the stretching factor of the line.floatgetWidth()Returns the width of the line.
-
Method Details
-
getBitmap
Returns the bitmap of the line.- Returns:
- The bitmap of the line.
-
getClickWidth
public float getClickWidth()Returns the width of the line used for click detection.- Returns:
- The width of the line used for click detection.
-
getLineEndType
public int getLineEndType()Returns the end point type of the line.- Returns:
- The end point type of the line.
-
getLineJoinType
public int getLineJoinType()Returns the join type of the line.- Returns:
- The join type of the line.
-
getStretchFactor
public float getStretchFactor()Returns the stretching factor of the line.- Returns:
- The stretching factor of the line.
-
getWidth
public float getWidth()Returns the width of the line.- Returns:
- The width of the line.
-