public static class TLspFillStyle.StipplePattern extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TLspFillStyle.StipplePattern.Builder
A builder for stipple patterns.
|
Modifier and Type | Field and Description |
---|---|
static TLspFillStyle.StipplePattern |
EMPTY_TONE
Represents an empty tone stipple pattern (a pattern filled with 0's).
|
static TLspFillStyle.StipplePattern |
FULL_TONE
Represents a full tone stipple pattern (a pattern is filled with 1's).
|
static TLspFillStyle.StipplePattern |
HALF_TONE
Represents a half tone stipple pattern (a checkers board like pattern).
|
static 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.
|
static 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.
|
static 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.
|
static 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.
|
static 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.
|
Modifier and Type | Method and Description |
---|---|
TLspFillStyle.StipplePattern.Builder |
asBuilder()
Creates a new builder initialized with all the properties of this stipple pattern.
|
boolean |
equals(Object o) |
byte[] |
getStipplePattern()
Gets the byte array representing the stipple pattern.
|
int |
hashCode() |
static TLspFillStyle.StipplePattern.Builder |
newBuilder()
Creates a new builder with the default values.
|
String |
toString() |
public static final TLspFillStyle.StipplePattern EMPTY_TONE
public static final TLspFillStyle.StipplePattern FULL_TONE
public static final TLspFillStyle.StipplePattern HALF_TONE
public static final TLspFillStyle.StipplePattern HALF_TONE_2x2
public static final TLspFillStyle.StipplePattern HALF_TONE_8x8
public static final TLspFillStyle.StipplePattern SIXTEEN_DOTS
public static final TLspFillStyle.StipplePattern ONE_DOT
public static final TLspFillStyle.StipplePattern HATCHED
public byte[] getStipplePattern()
public TLspFillStyle.StipplePattern.Builder asBuilder()
public static TLspFillStyle.StipplePattern.Builder newBuilder()