Package com.luciad.view.lightspeed.style
Class TLspVerticalLineStyle
java.lang.Object
com.luciad.view.lightspeed.style.ALspStyle
com.luciad.view.lightspeed.style.TLspVerticalLineStyle
- All Implemented Interfaces:
ILspStyler
Style that defines a line perpendicular to the earth surface, to a point.
This style can be used to visualize the projection of a certain elevated
point onto a terrain.
Construction of a vertical style is done through the
Builder
design pattern mechanism.- Since:
- 2012.0
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Builder for vertical line styles. -
Method Summary
Modifier and TypeMethodDescriptionCreates a new builder initialized with all the properties of this style.boolean
getColor()
Gets the color.float
getWidth()
Gets the line width (pixels).int
hashCode()
boolean
Determines whether this style is transparent.static TLspVerticalLineStyle.Builder
<?> Creates a new builder with the default values.toString()
Methods inherited from class com.luciad.view.lightspeed.style.ALspStyle
addStyleChangeListener, getZOrder, isCompatible, removeStyleChangeListener, style
-
Method Details
-
newBuilder
Creates a new builder with the default values.- Returns:
- the new builder.
-
asBuilder
Creates a new builder initialized with all the properties of this style. -
getColor
Gets the color.- Returns:
- the color
-
isTransparent
public boolean isTransparent()Description copied from class:ALspStyle
Determines whether this style is transparent. Shapes that are transparent can be painted in a different paint phase than shapes that are not transparent.- Specified by:
isTransparent
in classALspStyle
- Returns:
- whether or not this style is transparent
-
getWidth
public float getWidth()Gets the line width (pixels). The returned value is always strictly positive.- Returns:
- the line width
-
hashCode
public int hashCode() -
equals
-
toString
-