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 Summary
Modifier and TypeClassDescriptionstatic final class
A builder class for creating line styles. -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
protected void
finalize()
android.graphics.Color
getColor()
Returns the line color.double
getWidth()
Returns the line width in device independent pixelsstatic LineStyle.Builder
Returns a new builder for creating aLineStyle
.
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
newBuilder
Returns a new builder for creating aLineStyle
.- Returns:
- a new builder for creating a
LineStyle
.
-
getWidth
public double getWidth()Returns the line width in device independent pixels- Returns:
- the line width in device independent pixels
-
getColor
@NotNull public android.graphics.Color getColor()Returns the line color.- Returns:
- the line color.
-
asBuilder
-