public class TLspPinLineStyle extends TLspLineStyle
Builder
design pattern mechanism.Modifier and Type | Class and Description |
---|---|
static class |
TLspPinLineStyle.Builder<B extends TLspPinLineStyle.Builder<B>>
Builder for pin line styles.
|
static class |
TLspPinLineStyle.PinEndPosition
Possible positions for the end of the pin: the position where the pin connects to the label.
|
TLspLineStyle.BlendOverlapMode, TLspLineStyle.DashPattern
ILspTexturedStyle.TextureCoordinatesMode
ILspWorldElevationStyle.ElevationMode
ILspEffectsHintStyle.EffectsHint
Modifier | Constructor and Description |
---|---|
protected |
TLspPinLineStyle(TLspPinLineStyle.Builder aBuilder)
Creates a new style with the properties that are set on the builder
|
Modifier and Type | Method and Description |
---|---|
TLspPinLineStyle.Builder<?> |
asBuilder()
Creates a new builder initialized with all the properties of this style.
|
boolean |
equals(Object o) |
TLspPinLineStyle.PinEndPosition |
getPinEndPosition()
Returns the end position of the pin: the position where the pin connects to the label.
|
int |
getPinVisibilityThreshold()
Returns the threshold (in pixels) at which the pin of a label becomes invisible.
|
int |
hashCode() |
static TLspPinLineStyle.Builder<?> |
newBuilder()
Creates a new builder with the default values.
|
getBlendOverlap, getColor, getDashPattern, getEffectsHints, getElevationMode, getPixelOffset, getTexture, getTextureCoordinatesMode, getTextureInterpolationType, getTextureMatrixSFCT, getTextureObject, getWidth, isBlendOverlap, isRepeatTexture, isTransparent, toString
addStyleChangeListener, getZOrder, isCompatible, removeStyleChangeListener, style
protected TLspPinLineStyle(TLspPinLineStyle.Builder aBuilder)
aBuilder
- a builder which will be used to initialize this style.public static TLspPinLineStyle.Builder<?> newBuilder()
public TLspPinLineStyle.Builder<?> asBuilder()
asBuilder
in class TLspLineStyle
public TLspPinLineStyle.PinEndPosition getPinEndPosition()
public int getPinVisibilityThreshold()
TLspPinLineStyle.Builder.pinVisibilityThreshold(int)
for more information.public boolean equals(Object o)
equals
in class TLspLineStyle
public int hashCode()
hashCode
in class TLspLineStyle