Class ALspComplexStroke.ArrowBuilder

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

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

    • type Link icon

      Sets the arrow type.
      Parameters:
      aType - the arrow type
      Returns:
      this
    • size Link icon

      public ALspComplexStroke.ArrowBuilder size(double aSize)
      Sets the arrow size
      Parameters:
      aSize - the arrow size
      Returns:
      this
    • height Link icon

      public ALspComplexStroke.ArrowBuilder height(double aHeight)
      Sets the height of the arrow. If this property is not set, the arrow uses a default height, depending on the arrow type.
      Parameters:
      aHeight - the height of the arrow.
      Returns:
      this
    • offset Link icon

      public ALspComplexStroke.ArrowBuilder offset(double aOffset)
      Sets the offset of the arrow from the base line. The default is 0.
      Parameters:
      aOffset - the offset from the base line
      Returns:
      this
    • forward Link icon

      public ALspComplexStroke.ArrowBuilder forward(boolean aForward)

      Sets if the arrow should be oriented towards the end of the line. The default is true.

      Parameters:
      aForward - true for arrows oriented towards the end of the line.
      Returns:
      this
    • lineWidth Link icon

      public ALspComplexStroke.ArrowBuilder lineWidth(double aLineWidth)
      Sets the line width
      Parameters:
      aLineWidth - the line width
      Returns:
      this
    • lineColor Link icon

      public ALspComplexStroke.ArrowBuilder lineColor(Color aLineColor)
      Sets the line color
      Parameters:
      aLineColor - the line color
      Returns:
      this
    • lineTexture Link icon

      public ALspComplexStroke.ArrowBuilder lineTexture(ILcdIcon aTextureIcon)

      Specifies an icon that is used to retrieve the line color. This texture icon is sampled in view space, i.e. one pixel of the icon corresponds with one pixel on the screen. If a line color is set as well, that color is used as a modulation color. For best results, the given icon should be tileable, see for example TLcdGXYHatchedFillStyle.asIcon().

      Parameters:
      aTextureIcon - a texture icon
      Returns:
      this
    • fillColor Link icon

      public ALspComplexStroke.ArrowBuilder fillColor(Color aFillColor)
      Sets the fill color
      Parameters:
      aFillColor - the fill color
      Returns:
      this
    • fillTexture Link icon

      public ALspComplexStroke.ArrowBuilder fillTexture(ILcdIcon aTextureIcon)

      Specifies an icon that is used to retrieve the fill color. This texture icon is sampled in view space, i.e. one pixel of the icon corresponds with one pixel on the screen. If a fill color is set as well, that color is used as a modulation color. For best results, the given icon should be tileable, see for example TLcdGXYHatchedFillStyle.asIcon().

      Parameters:
      aTextureIcon - a texture icon
      Returns:
      this
    • build Link icon

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