Class TLspStrokedLineStyle

java.lang.Object
com.luciad.view.lightspeed.style.ALspStyle
com.luciad.view.lightspeed.style.TLspStrokedLineStyle
All Implemented Interfaces:
ILspWorldElevationStyle, ILspStyler

public class TLspStrokedLineStyle extends ALspStyle implements ILspWorldElevationStyle
Deprecated.
TLspComplexStrokedLineStyle offers more flexibility when defining stroked line patterns, as well as improved performance. It is therefore recommended above TLspStrokedLineStyle.

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.

Since:
2012.0
  • Constructor Details

    • TLspStrokedLineStyle

      public TLspStrokedLineStyle(TLspStrokedLineStyle.Builder aBuilder)
      Deprecated.
      Creates a new stroked line style based on the given builder.
      Parameters:
      aBuilder - the builder containing the parameters for the new stroked line style
  • Method Details

    • newBuilder

      public static TLspStrokedLineStyle.Builder<?> newBuilder()
      Deprecated.
      Creates a new builder with the default values.
      Returns:
      the new builder.
    • asBuilder

      public TLspStrokedLineStyle.Builder<?> asBuilder()
      Deprecated.
      Creates a new builder initialized with all the properties of this style.
      Specified by:
      asBuilder in class ALspStyle
      Returns:
      the new builder.
    • getGlyphs

      public List<TLspStrokedLineStyle.Glyph> getGlyphs()
      Deprecated.
      Returns the sequence of glyphs that define this stroked line style.

      This list should never be modified. To change the glyphs you should create a new style.

      Returns:
      the sequence of glyphs that define this stroked line style
    • isTransparent

      public boolean isTransparent()
      Deprecated.
      Always returns false. Stroked line styles are only supported in 3D views by terrain them on the terrain, which means this property is not applicable.
      Specified by:
      isTransparent in class ALspStyle
      Returns:
      false
    • getElevationMode

      public ILspWorldElevationStyle.ElevationMode getElevationMode()
      Deprecated.
      Returns the elevation mode of this style. For stroked lines, this is always ILspWorldElevationStyle.ElevationMode.ON_TERRAIN.
      Specified by:
      getElevationMode in interface ILspWorldElevationStyle
      Returns:
      The elevation mode.
    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class ALspStyle