public enum PatternType extends java.lang.Enum<PatternType>
| Enum Constant and Description |
|---|
Cross
Specifies to use a cross pattern.
|
DarkDownwardDiagonal
Specifies to use thick lines in the foreground color running from the top to the right-hand side of the shape.
|
DarkHorizontal
Specifies to use thick horizontal lines in the foreground color.
|
DarkUpwardDiagonal
Specifies to use thick lines in the foreground color running from the top to the left-hand side of the shape.
|
DarkVertical
Specifies to use thick vertical lines in the foreground color.
|
DashedDownwardDiagonal
Specifies to use dashed lines in the foreground color running from the top to the right-hand side of the shape.
|
DashedHorizontal
Specifies to use dashed horizontal lines in the foreground color.
|
DashedUpwardDiagonal
Specifies to use dashed lines in the foreground color running from the top to the left-hand side of the shape.
|
DashedVertical
Specifies to use dashed vertical lines in the foreground color.
|
DiagonalBrick
Specifies to use a rectangular brick pattern running diagonally across the shape.
|
DiagonalCross
Specifies to use a diagonal cross pattern.
|
Divot
Specifies to use small angled shapes in the foreground color running in alternating rows down the shape.
|
DottedDiamond
Specifies to use dotted perpendicular lines in the foreground color running diagonally to form diamonds across the shape.
|
DottedGrid
Specifies to use dotted perpendicular lines in the foreground color running horizontally and vertically to form grid lines across the shape.
|
DownwardDiagonal
Specifies to use a downward diagonal pattern.
|
Horizontal
Specifies to use a horizontal pattern.
|
HorizontalBrick
Specifies to use a rectangular brick pattern running horizontally across the shape.
|
LargeCheckerBoard
Specifies to use squares in alternating foreground or background colors.
|
LargeConfetti
Specifies to use large dots in the foreground color scattered across the shape.
|
LargeGrid
Specifies to use solid, widely spaced perpendicular lines in the foreground color running horizontally and vertically to form grid lines across the shape.
|
LightDownwardDiagonal
Specifies to use thin lines in the foreground color running from the top to the right-hand side of the shape.
|
LightHorizontal
Specifies to use thin horizontal lines in the foreground color.
|
LightUpwardDiagonal
Specifies to use thin lines in the foreground color running from the top to the left-hand side of the shape.
|
LightVertical
Specifies to use thin vertical lines in the foreground color.
|
Mixed
Mixed pattern
|
NarrowHorizontal
Specifies to use narrowly spaced horizontal lines in the foreground color.
|
NarrowVertical
Specifies to use narrowly spaced vertical lines in the foreground color.
|
None
Specifies no pattern.
|
OutlinedDiamond
Specifies to use solid perpendicular lines in the foreground color running diagonally to form diamonds across the shape.
|
Percent10
Specifies to use 10% of the foreground color.
|
Percent20
Specifies to use 20% of the foreground color.
|
Percent25
Specifies to use 25% of the foreground color.
|
Percent30
Specifies to use 30% of the foreground color.
|
Percent40
Specifies to use 40% of the foreground color.
|
Percent5
Specifies to use 5% of the foreground color.
|
Percent50
Specifies to use 50% of the foreground color.
|
Percent60
Specifies to use 60% of the foreground color.
|
Percent70
Specifies to use 70% of the foreground color.
|
Percent75
Specifies to use 75% of the foreground color.
|
Percent80
Specifies to use 80% of the foreground color.
|
Percent90
Specifies to use 90% of the foreground color.
|
Plaid
Specifies to use very thick solid lines in the foreground color running vertically, coupled with very thick lines and 40% of the foreground color running horizontally.
|
Shingle
Specifies to use overlapping curved rectangles running diagonally across the shape.
|
SmallCheckerBoard
Specifies to use small squares in alternating foreground and background colors.
|
SmallConfetti
Specifies to use small dots in the foreground color scattered across the shape.
|
SmallGrid
Specifies to use solid, closely spaced perpendicular lines in the foreground color running horizontally and vertically to form grid lines across the shape.
|
SolidDiamond
Specifies to use diamond shapes in alternating foreground or background colors.
|
Sphere
Specifies to use circles that use foreground and background colors to make them appear three-dimensional, oriented in rows across the shape.
|
Trellis
Specifies to use a trellis pattern in the foreground color.
|
UpwardDiagonal
Specifies to use an upward diagonal pattern.
|
Vertical
Specifies to use a vertical pattern.
|
Wave
Specifies to use wavy lines in the foreground color.
|
Weave
Specifies to use a weave pattern in the foreground color running diagonally across the shape.
|
WideDownwardDiagonal
Specifies to use widely spaced lines in the foreground color running from the top to the right-hand side of the shape.
|
WideUpwardDiagonal
Specifies to use widely spaced lines in the foreground color running from the top to the left-hand side of the shape.
|
ZigZag
Specifies to use zigzag lines running horizontally across the shape.
|
| Modifier and Type | Method and Description |
|---|---|
static PatternType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PatternType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PatternType None
public static final PatternType Percent5
public static final PatternType Percent10
public static final PatternType Percent20
public static final PatternType Percent25
public static final PatternType Percent30
public static final PatternType Percent40
public static final PatternType Percent50
public static final PatternType Percent60
public static final PatternType Percent70
public static final PatternType Percent75
public static final PatternType Percent80
public static final PatternType Percent90
public static final PatternType DarkHorizontal
public static final PatternType DarkVertical
public static final PatternType DarkDownwardDiagonal
public static final PatternType DarkUpwardDiagonal
public static final PatternType SmallCheckerBoard
public static final PatternType Trellis
public static final PatternType LightHorizontal
public static final PatternType LightVertical
public static final PatternType LightDownwardDiagonal
public static final PatternType LightUpwardDiagonal
public static final PatternType SmallGrid
public static final PatternType DottedDiamond
public static final PatternType WideDownwardDiagonal
public static final PatternType WideUpwardDiagonal
public static final PatternType DashedUpwardDiagonal
public static final PatternType DashedDownwardDiagonal
public static final PatternType NarrowVertical
public static final PatternType NarrowHorizontal
public static final PatternType DashedVertical
public static final PatternType DashedHorizontal
public static final PatternType LargeConfetti
public static final PatternType LargeGrid
public static final PatternType HorizontalBrick
public static final PatternType LargeCheckerBoard
public static final PatternType SmallConfetti
public static final PatternType ZigZag
public static final PatternType SolidDiamond
public static final PatternType DiagonalBrick
public static final PatternType OutlinedDiamond
public static final PatternType Plaid
public static final PatternType Sphere
public static final PatternType Weave
public static final PatternType DottedGrid
public static final PatternType Divot
public static final PatternType Shingle
public static final PatternType Wave
public static final PatternType Horizontal
public static final PatternType Vertical
public static final PatternType Cross
public static final PatternType DownwardDiagonal
public static final PatternType UpwardDiagonal
public static final PatternType DiagonalCross
public static final PatternType Mixed
public static PatternType[] values()
for (PatternType c : PatternType.values()) System.out.println(c);
public static PatternType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null