Class TLspFillStyle.StipplePattern

java.lang.Object
com.luciad.view.lightspeed.style.TLspFillStyle.StipplePattern
Enclosing class:
TLspFillStyle

public static class TLspFillStyle.StipplePattern extends Object
Represents a 2D stipple pattern, which is specified by a 32x32 grid of bits.
Since:
2012.0
  • Field Details

    • EMPTY_TONE

      public static final TLspFillStyle.StipplePattern EMPTY_TONE
      Represents an empty tone stipple pattern (a pattern filled with 0's).
    • FULL_TONE

      public static final TLspFillStyle.StipplePattern FULL_TONE
      Represents a full tone stipple pattern (a pattern is filled with 1's).
    • HALF_TONE

      public static final TLspFillStyle.StipplePattern HALF_TONE
      Represents a half tone stipple pattern (a checkers board like pattern).
    • HALF_TONE_2x2

      public static final TLspFillStyle.StipplePattern HALF_TONE_2x2
      Represents a half tone stipple pattern (a checkers board like pattern), where the block size is two by two pixels.
    • HALF_TONE_8x8

      public static final TLspFillStyle.StipplePattern HALF_TONE_8x8
      Represents a half tone stipple pattern (a checkers board like pattern), where the block size is eight by eight pixels.
    • SIXTEEN_DOTS

      public static final TLspFillStyle.StipplePattern SIXTEEN_DOTS
      Represents a stipple pattern in which each 8x8 pixel block (of the 32x32 pattern) has a 4x4 upper left sub-block which is filled, and the rest of its pixels are empty.
    • ONE_DOT

      public static final TLspFillStyle.StipplePattern ONE_DOT
      Represents a stipple pattern in which the upper-left 16 by 16 pixel block is filled, and the rest of the pattern is empty.
    • HATCHED

      public static final TLspFillStyle.StipplePattern HATCHED
      Represents a stipple pattern with diagonal lines, separated 3 pixels from each other and going from bottom left to upper right corner.
  • Method Details

    • getStipplePattern

      public byte[] getStipplePattern()
      Gets the byte array representing the stipple pattern.

      This array should never be modified.

      Returns:
      the byte array representing the stipple pattern. This array has length 128.
    • asBuilder

      Creates a new builder initialized with all the properties of this stipple pattern.
      Returns:
      the new builder.
    • newBuilder

      public static TLspFillStyle.StipplePattern.Builder newBuilder()
      Creates a new builder with the default values.
      Returns:
      the new builder.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object