Class ALspComplexStroke.TextBuilder

java.lang.Object
com.luciad.view.lightspeed.style.complexstroke.ALspComplexStroke.TextBuilder
Enclosing class:
ALspComplexStroke

public static class ALspComplexStroke.TextBuilder extends Object
Used to build text strokes. For more information, see ALspComplexStroke.text().
Since:
2013.1
  • Method Details

    • text

      Sets the text
      Parameters:
      aText - the text
      Returns:
      this
    • text

      public ALspComplexStroke.TextBuilder text(String... aText)
      Sets the text
      Parameters:
      aText - the text
      Returns:
      this
    • rotateUp

      public ALspComplexStroke.TextBuilder rotateUp(boolean aRotateUp)
      Sets if the text should be flipped when it is turned upside down. The default is true.
      Parameters:
      aRotateUp - true to make sure the text is flipped when it is turned upside down, false otherwise.
      Returns:
      this
    • offset

      public ALspComplexStroke.TextBuilder offset(double aOffset)
      Sets the offset, in pixels, of the text from the base line
      Parameters:
      aOffset - the offset, in pixels, of the text from the base line
      Returns:
      this
    • textStyle

      public ALspComplexStroke.TextBuilder textStyle(TLspTextStyle aTextStyle)
      Sets the text style to use.
      Parameters:
      aTextStyle - the text style to use.
      Returns:
      this
    • build

      public ALspComplexStroke build()
      Returns a new text stroke
      Returns:
      a new text stroke