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);
public static HwmfHatchStyle 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 nullpublic int getFlag()
public long getPattern()
public static HwmfHatchStyle valueOf(int flag)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.