Package com.luciad.view.lightspeed.style
Class TLspPinLineStyle
java.lang.Object
com.luciad.view.lightspeed.style.ALspStyle
com.luciad.view.lightspeed.style.TLspLineStyle
com.luciad.view.lightspeed.style.TLspPinLineStyle
- All Implemented Interfaces:
ILspEffectsHintStyle,ILspTexturedStyle,ILspWorldElevationStyle,ILspStyler
Style that defines a pin from an object's anchor point to its label.
By default, the pin is a 1-pixel black solid line.
Construction of a pin style is done through the
Builder design pattern mechanism.- Since:
- 2012.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classTLspPinLineStyle.Builder<B extends TLspPinLineStyle.Builder<B>>Builder for pin line styles.static enumPossible positions for the end of the pin: the position where the pin connects to the label.Nested classes/interfaces inherited from class com.luciad.view.lightspeed.style.TLspLineStyle
TLspLineStyle.BlendOverlapMode, TLspLineStyle.DashPatternNested classes/interfaces inherited from interface com.luciad.view.lightspeed.style.ILspEffectsHintStyle
ILspEffectsHintStyle.EffectsHintNested classes/interfaces inherited from interface com.luciad.view.lightspeed.style.ILspTexturedStyle
ILspTexturedStyle.TextureCoordinatesModeNested classes/interfaces inherited from interface com.luciad.view.lightspeed.style.ILspWorldElevationStyle
ILspWorldElevationStyle.ElevationMode -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTLspPinLineStyle(TLspPinLineStyle.Builder aBuilder) Creates a new style with the properties that are set on the builder -
Method Summary
Modifier and TypeMethodDescriptionCreates a new builder initialized with all the properties of this style.booleanReturns the end position of the pin: the position where the pin connects to the label.intReturns the threshold (in pixels) at which the pin of a label becomes invisible.inthashCode()static TLspPinLineStyle.Builder<?> Creates a new builder with the default values.Methods inherited from class com.luciad.view.lightspeed.style.TLspLineStyle
getBlendOverlap, getColor, getDashPattern, getEffectsHints, getElevationMode, getPixelOffset, getTexture, getTextureCoordinatesMode, getTextureInterpolationType, getTextureMatrixSFCT, getTextureObject, getWidth, isBlendOverlap, isRepeatTexture, isTransparent, toStringMethods inherited from class com.luciad.view.lightspeed.style.ALspStyle
addStyleChangeListener, getZOrder, isCompatible, removeStyleChangeListener, style
-
Constructor Details
-
TLspPinLineStyle
Creates a new style with the properties that are set on the builder- Parameters:
aBuilder- a builder which will be used to initialize this 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.- Overrides:
asBuilderin classTLspLineStyle- Returns:
- the new builder.
-
getPinEndPosition
Returns the end position of the pin: the position where the pin connects to the label.- Returns:
- the end position of the pin.
-
getPinVisibilityThreshold
public int getPinVisibilityThreshold()Returns the threshold (in pixels) at which the pin of a label becomes invisible. SeeTLspPinLineStyle.Builder.pinVisibilityThreshold(int)for more information.- Returns:
- the threshold (in pixels) at which the pin of a label becomes invisible.
- Since:
- 2019.0
-
equals
- Overrides:
equalsin classTLspLineStyle
-
hashCode
public int hashCode()- Overrides:
hashCodein classTLspLineStyle
-