TLspComplexStrokedLineStyle
offers more
flexibility when defining stroked line patterns, as well as improved performance. It is
therefore recommended above TLspStrokedLineStyle
.public class TLspStrokedLineStyle extends ALspStyle implements ILspWorldElevationStyle
Style that can be used to apply complex strokes to a shape's outline. A
stroked line style is essentially a series of glyphs
, which
are positioned in a repeating pattern along the line to which the style is
applied.
Modifier and Type | Class and Description |
---|---|
static class |
TLspStrokedLineStyle.Builder<B extends TLspStrokedLineStyle.Builder<B>>
Deprecated.
Builder for stroked line styles.
|
static class |
TLspStrokedLineStyle.Glyph
Deprecated.
Represents a single glyph in a
TLspStrokedLineStyle . |
ILspWorldElevationStyle.ElevationMode
Constructor and Description |
---|
TLspStrokedLineStyle(TLspStrokedLineStyle.Builder aBuilder)
Deprecated.
Creates a new stroked line style based on the given builder.
|
Modifier and Type | Method and Description |
---|---|
TLspStrokedLineStyle.Builder<?> |
asBuilder()
Deprecated.
Creates a new builder initialized with all the properties of this style.
|
boolean |
equals(Object o)
Deprecated.
|
ILspWorldElevationStyle.ElevationMode |
getElevationMode()
Deprecated.
Returns the elevation mode of this style.
|
List<TLspStrokedLineStyle.Glyph> |
getGlyphs()
Deprecated.
Returns the sequence of glyphs that define this stroked line style.
|
boolean |
isTransparent()
Deprecated.
Always returns
false . |
static TLspStrokedLineStyle.Builder<?> |
newBuilder()
Deprecated.
Creates a new builder with the default values.
|
addStyleChangeListener, getZOrder, hashCode, isCompatible, removeStyleChangeListener, style
public TLspStrokedLineStyle(TLspStrokedLineStyle.Builder aBuilder)
aBuilder
- the builder containing the parameters for the new stroked line stylepublic static TLspStrokedLineStyle.Builder<?> newBuilder()
public TLspStrokedLineStyle.Builder<?> asBuilder()
public List<TLspStrokedLineStyle.Glyph> getGlyphs()
public boolean isTransparent()
false
. Stroked line styles are only supported in 3D
views by terrain them on the terrain, which means this property is not
applicable.isTransparent
in class ALspStyle
public ILspWorldElevationStyle.ElevationMode getElevationMode()
ILspWorldElevationStyle.ElevationMode.ON_TERRAIN
.getElevationMode
in interface ILspWorldElevationStyle