Enum Class PatternType
- 所有已实现的接口:
Serializable
,Comparable<PatternType>
,Constable
Specifies the fill pattern used in a shape.
-
嵌套类概要
从类继承的嵌套类/接口 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
枚举常量概要
枚举常量说明Specifies to use a cross pattern.Specifies to use thick lines in the foreground color running from the top to the right-hand side of the shape.Specifies to use thick horizontal lines in the foreground color.Specifies to use thick lines in the foreground color running from the top to the left-hand side of the shape.Specifies to use thick vertical lines in the foreground color.Specifies to use dashed lines in the foreground color running from the top to the right-hand side of the shape.Specifies to use dashed horizontal lines in the foreground color.Specifies to use dashed lines in the foreground color running from the top to the left-hand side of the shape.Specifies to use dashed vertical lines in the foreground color.Specifies to use a rectangular brick pattern running diagonally across the shape.Specifies to use a diagonal cross pattern.Specifies to use small angled shapes in the foreground color running in alternating rows down the shape.Specifies to use dotted perpendicular lines in the foreground color running diagonally to form diamonds across the shape.Specifies to use dotted perpendicular lines in the foreground color running horizontally and vertically to form grid lines across the shape.Specifies to use a downward diagonal pattern.Specifies to use a horizontal pattern.Specifies to use a rectangular brick pattern running horizontally across the shape.Specifies to use squares in alternating foreground or background colors.Specifies to use large dots in the foreground color scattered across the shape.Specifies to use solid, widely spaced perpendicular lines in the foreground color running horizontally and vertically to form grid lines across the shape.Specifies to use thin lines in the foreground color running from the top to the right-hand side of the shape.Specifies to use thin horizontal lines in the foreground color.Specifies to use thin lines in the foreground color running from the top to the left-hand side of the shape.Specifies to use thin vertical lines in the foreground color.Mixed patternSpecifies to use narrowly spaced horizontal lines in the foreground color.Specifies to use narrowly spaced vertical lines in the foreground color.Specifies no pattern.Specifies to use solid perpendicular lines in the foreground color running diagonally to form diamonds across the shape.Specifies to use 10% of the foreground color.Specifies to use 20% of the foreground color.Specifies to use 25% of the foreground color.Specifies to use 30% of the foreground color.Specifies to use 40% of the foreground color.Specifies to use 5% of the foreground color.Specifies to use 50% of the foreground color.Specifies to use 60% of the foreground color.Specifies to use 70% of the foreground color.Specifies to use 75% of the foreground color.Specifies to use 80% of the foreground color.Specifies to use 90% of the foreground color.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.Specifies to use overlapping curved rectangles running diagonally across the shape.Specifies to use small squares in alternating foreground and background colors.Specifies to use small dots in the foreground color scattered across the shape.Specifies to use solid, closely spaced perpendicular lines in the foreground color running horizontally and vertically to form grid lines across the shape.Specifies to use diamond shapes in alternating foreground or background colors.Specifies to use circles that use foreground and background colors to make them appear three-dimensional, oriented in rows across the shape.Specifies to use a trellis pattern in the foreground color.Specifies to use an upward diagonal pattern.Specifies to use a vertical pattern.Specifies to use wavy lines in the foreground color.Specifies to use a weave pattern in the foreground color running diagonally across the shape.Specifies to use widely spaced lines in the foreground color running from the top to the right-hand side of the shape.Specifies to use widely spaced lines in the foreground color running from the top to the left-hand side of the shape.Specifies to use zigzag lines running horizontally across the shape. -
方法概要
修饰符和类型方法说明static PatternType
Returns the enum constant of this class with the specified name.static PatternType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
枚举常量详细资料
-
None
Specifies no pattern. -
Percent5
Specifies to use 5% of the foreground color. -
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. -
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. -
DarkHorizontal
Specifies to use thick horizontal lines in the foreground color. -
DarkVertical
Specifies to use thick vertical lines in the foreground color. -
DarkDownwardDiagonal
Specifies to use thick lines in the foreground color running from the top to the right-hand side of the shape. -
DarkUpwardDiagonal
Specifies to use thick lines in the foreground color running from the top to the left-hand side of the shape. -
SmallCheckerBoard
Specifies to use small squares in alternating foreground and background colors. -
Trellis
Specifies to use a trellis pattern in the foreground color. -
LightHorizontal
Specifies to use thin horizontal lines in the foreground color. -
LightVertical
Specifies to use thin vertical lines in the foreground color. -
LightDownwardDiagonal
Specifies to use thin lines in the foreground color running from the top to the right-hand side of the shape. -
LightUpwardDiagonal
Specifies to use thin lines in the foreground color running from the top to the left-hand side of 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. -
DottedDiamond
Specifies to use dotted perpendicular lines in the foreground color running diagonally to form diamonds 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. -
DashedUpwardDiagonal
Specifies to use dashed lines in the foreground color running from the top to the left-hand side of the shape. -
DashedDownwardDiagonal
Specifies to use dashed lines in the foreground color running from the top to the right-hand side of the shape. -
NarrowVertical
Specifies to use narrowly spaced vertical lines in the foreground color. -
NarrowHorizontal
Specifies to use narrowly spaced horizontal lines in the foreground color. -
DashedVertical
Specifies to use dashed vertical lines in the foreground color. -
DashedHorizontal
Specifies to use dashed horizontal lines in the foreground color. -
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. -
HorizontalBrick
Specifies to use a rectangular brick pattern running horizontally across the shape. -
LargeCheckerBoard
Specifies to use squares in alternating foreground or background colors. -
SmallConfetti
Specifies to use small dots in the foreground color scattered across the shape. -
ZigZag
Specifies to use zigzag lines running horizontally across the shape. -
SolidDiamond
Specifies to use diamond shapes in alternating foreground or background colors. -
DiagonalBrick
Specifies to use a rectangular brick pattern running diagonally across the shape. -
OutlinedDiamond
Specifies to use solid perpendicular lines in the foreground color running diagonally to form diamonds across the shape. -
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. -
Sphere
Specifies to use circles that use foreground and background colors to make them appear three-dimensional, oriented in rows across the shape. -
Weave
Specifies to use a weave pattern in the foreground color running diagonally 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. -
Divot
Specifies to use small angled shapes in the foreground color running in alternating rows down the shape. -
Shingle
Specifies to use overlapping curved rectangles running diagonally across the shape. -
Wave
Specifies to use wavy lines in the foreground color. -
Horizontal
Specifies to use a horizontal pattern. -
Vertical
Specifies to use a vertical pattern. -
Cross
Specifies to use a cross pattern. -
DownwardDiagonal
Specifies to use a downward diagonal pattern. -
UpwardDiagonal
Specifies to use an upward diagonal pattern. -
DiagonalCross
Specifies to use a diagonal cross pattern. -
Mixed
Mixed pattern
-
-
方法详细资料
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- 返回:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- 参数:
name
- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- 如果参数为空值
-