public enum FillPatternType extends java.lang.Enum<FillPatternType>
Enum Constant and Description |
---|
ALT_BARS
Wide dots
|
BIG_SPOTS
Large spots
|
BRICKS
Brick-like layout
|
DIAMONDS
Diamonds
|
FINE_DOTS
Small fine dots
|
LEAST_DOTS
Least Dots
|
LESS_DOTS
Less Dots
|
NO_FILL
No background
|
SOLID_FOREGROUND
Solidly filled
|
SPARSE_DOTS
Sparse dots
|
SQUARES
Squares
|
THICK_BACKWARD_DIAG
Thick backward facing diagonals
|
THICK_FORWARD_DIAG
Thick forward facing diagonals
|
THICK_HORZ_BANDS
Thick horizontal bands
|
THICK_VERT_BANDS
Thick vertical bands
|
THIN_BACKWARD_DIAG
Thin backward diagonal
|
THIN_FORWARD_DIAG
Thin forward diagonal
|
THIN_HORZ_BANDS
Thin horizontal bands
|
THIN_VERT_BANDS
Thin vertical bands
|
Modifier and Type | Method and Description |
---|---|
static FillPatternType |
forInt(int code) |
short |
getCode() |
static FillPatternType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
(返回具有指定名称的此类型的枚举常量。)
|
static FillPatternType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
(按照声明的顺序返回包含此枚举类型常量的数组。)
|
public static final FillPatternType NO_FILL
public static final FillPatternType SOLID_FOREGROUND
public static final FillPatternType FINE_DOTS
public static final FillPatternType ALT_BARS
public static final FillPatternType SPARSE_DOTS
public static final FillPatternType THICK_HORZ_BANDS
public static final FillPatternType THICK_VERT_BANDS
public static final FillPatternType THICK_BACKWARD_DIAG
public static final FillPatternType THICK_FORWARD_DIAG
public static final FillPatternType BIG_SPOTS
public static final FillPatternType BRICKS
public static final FillPatternType THIN_HORZ_BANDS
public static final FillPatternType THIN_VERT_BANDS
public static final FillPatternType THIN_BACKWARD_DIAG
public static final FillPatternType THIN_FORWARD_DIAG
public static final FillPatternType SQUARES
public static final FillPatternType DIAMONDS
public static final FillPatternType LESS_DOTS
public static final FillPatternType LEAST_DOTS
public static FillPatternType[] values()
for (FillPatternType c : FillPatternType.values()) System.out.println(c);(按照声明的顺序返回包含此枚举类型常量的数组。此方法可用于迭代常量,如下所示: for (FillPatternType c : FillPatternType.values()) System.out.println(c);)
public static FillPatternType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
(name - 要返回的枚举常量的名称。)
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified name
(java.lang.IllegalArgumentException - 如果此枚举类型没有具有指定名称的常量)
java.lang.NullPointerException
- if the argument is null
(java.lang.NullPointerException - 如果参数为空)
public short getCode()
public static FillPatternType forInt(int code)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.