public enum HwmfHatchStyle extends java.lang.Enum<HwmfHatchStyle>
Enum Constant and Description |
---|
HS_BDIAGONAL
///// - A 45-degree upward, left-to-right hatch.
|
HS_CROSS
+++++ - A horizontal and vertical cross-hatch.
|
HS_DIAGCROSS
xxxxx - A 45-degree crosshatch.
|
HS_DITHEREDBKCLR
The hatch is not a pattern, but is a dithered color, defined by the current background color.
|
HS_DITHEREDCLR
The hatch is not a pattern, but is a dithered color.
|
HS_DITHEREDTEXTCLR
The hatch is not a pattern, but is a dithered color, defined by the current text (foreground) color.
|
HS_FDIAGONAL
\\\\\ - A 45-degree downward, left-to-right hatch.
|
HS_HORIZONTAL
----- - A horizontal hatch
|
HS_SOLIDBKCLR
The hatch is not a pattern, but is a solid color, defined by the current background color.
|
HS_SOLIDCLR
The hatch is not a pattern, but is a solid color.
|
HS_SOLIDTEXTCLR
The hatch is not a pattern, but is a solid color, defined by the current text (foreground) color.
|
HS_VERTICAL
||||| - A vertical hatch
|
Modifier and Type | Method and Description |
---|---|
int |
getFlag() |
long |
getPattern() |
static HwmfHatchStyle |
valueOf(int flag) |
static HwmfHatchStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
(返回具有指定名称的此类型的枚举常量。)
|
static HwmfHatchStyle[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
(按照声明的顺序返回包含此枚举类型常量的数组。)
|
public static final HwmfHatchStyle HS_HORIZONTAL
public static final HwmfHatchStyle HS_VERTICAL
public static final HwmfHatchStyle HS_FDIAGONAL
public static final HwmfHatchStyle HS_BDIAGONAL
public static final HwmfHatchStyle HS_CROSS
public static final HwmfHatchStyle HS_DIAGCROSS
public static final HwmfHatchStyle HS_SOLIDCLR
public static final HwmfHatchStyle HS_DITHEREDCLR
public static final HwmfHatchStyle HS_SOLIDTEXTCLR
public static final HwmfHatchStyle HS_DITHEREDTEXTCLR
public static final HwmfHatchStyle HS_SOLIDBKCLR
public static final HwmfHatchStyle HS_DITHEREDBKCLR
public static HwmfHatchStyle[] values()
for (HwmfHatchStyle c : HwmfHatchStyle.values()) System.out.println(c);(按照声明的顺序返回包含此枚举类型常量的数组。此方法可用于迭代常量,如下所示: for (HwmfHatchStyle c : HwmfHatchStyle.values()) System.out.println(c);)
public static HwmfHatchStyle 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 int getFlag()
public long getPattern()
public static HwmfHatchStyle valueOf(int flag)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.