Package com.luciad.view.lightspeed.style
Class TLspFillStyle.StipplePattern
java.lang.Object
com.luciad.view.lightspeed.style.TLspFillStyle.StipplePattern
- Enclosing class:
TLspFillStyle
Represents a 2D stipple pattern, which is specified by a 32x32 grid of bits.
- Since:
- 2012.0
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
A builder for stipple patterns. -
Field Summary
Modifier and TypeFieldDescriptionstatic final TLspFillStyle.StipplePattern
Represents an empty tone stipple pattern (a pattern filled with 0's).static final TLspFillStyle.StipplePattern
Represents a full tone stipple pattern (a pattern is filled with 1's).static final TLspFillStyle.StipplePattern
Represents a half tone stipple pattern (a checkers board like pattern).static final TLspFillStyle.StipplePattern
Represents a half tone stipple pattern (a checkers board like pattern), where the block size is two by two pixels.static final TLspFillStyle.StipplePattern
Represents a half tone stipple pattern (a checkers board like pattern), where the block size is eight by eight pixels.static final TLspFillStyle.StipplePattern
Represents a stipple pattern with diagonal lines, separated 3 pixels from each other and going from bottom left to upper right corner.static final TLspFillStyle.StipplePattern
Represents a stipple pattern in which the upper-left 16 by 16 pixel block is filled, and the rest of the pattern is empty.static final TLspFillStyle.StipplePattern
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. -
Method Summary
-
Field Details
-
EMPTY_TONE
Represents an empty tone stipple pattern (a pattern filled with 0's). -
FULL_TONE
Represents a full tone stipple pattern (a pattern is filled with 1's). -
HALF_TONE
Represents a half tone stipple pattern (a checkers board like pattern). -
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
Represents a half tone stipple pattern (a checkers board like pattern), where the block size is eight by eight pixels. -
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
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
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
Creates a new builder with the default values.- Returns:
- the new builder.
-
equals
-
hashCode
public int hashCode() -
toString
-