Package com.luciad.layers.styles
Class LineStyle
java.lang.Object
com.luciad.layers.styles.LineStyle
- All Implemented Interfaces:
- AutoCloseable
This class contains styling properties to determine how a line is painted.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic final classA builder class for creating line styles.
- 
Method SummaryModifier and TypeMethodDescriptionvoidclose()protected voidfinalize()android.graphics.ColorgetColor()Returns the line color.doublegetWidth()Returns the line width.booleanReturns whether theline widthis interpreted as meters instead of pixels.static LineStyle.BuilderReturns a new builder for creating aLineStyle.
- 
Method Details- 
finalizeprotected void finalize()
- 
closepublic void close()- Specified by:
- closein interface- AutoCloseable
 
- 
newBuilderReturns a new builder for creating aLineStyle.- Returns:
- a new builder for creating a LineStyle.
 
- 
getWidthpublic double getWidth()Returns the line width.If isInMetersis true, the line width is interpreted as meters. Otherwise, the line width is interpreted as device independent pixels- Returns:
- the line width.
 
- 
getColor@NotNull public android.graphics.Color getColor()Returns the line color.- Returns:
- the line color.
 
- 
isInMeterspublic boolean isInMeters()Returns whether theline widthis interpreted as meters instead of pixels.- Returns:
- whether the line widthis interpreted as meters instead of pixels.
- Since:
- 2025.0
 
- 
asBuilder
 
-