public static enum HemfPlusPen.EmfPlusLineCapType extends java.lang.Enum<HemfPlusPen.EmfPlusLineCapType>
Enum Constant and Description |
---|
ANCHOR_MASK
Mask used to check whether a line cap is an anchor cap.
|
ARROW_ANCHOR
Specifies that the line end is anchored with an arrowhead shape.
|
CUSTOM
Specifies a custom line cap.
|
DIAMOND_ANCHOR
Specifies that the line end is anchored with a diamond-shaped line cap, which is a square turned at
45 degrees.
|
FLAT
Specifies a squared-off line cap.
|
NO_ANCHOR
Specifies that the line end is not anchored.
|
ROUND
Specifies a circular line cap.
|
ROUND_ANCHOR
Specifies that the line end is anchored with a circular line cap.
|
SQUARE
Specifies a square line cap.
|
SQUARE_ANCHOR
Specifies that the line end is anchored with a square line cap.
|
TRIANGLE
Specifies a triangular line cap.
|
Modifier and Type | Field and Description |
---|---|
int |
id |
Modifier and Type | Method and Description |
---|---|
static HemfPlusPen.EmfPlusLineCapType |
valueOf(int id) |
static HemfPlusPen.EmfPlusLineCapType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HemfPlusPen.EmfPlusLineCapType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HemfPlusPen.EmfPlusLineCapType FLAT
public static final HemfPlusPen.EmfPlusLineCapType SQUARE
public static final HemfPlusPen.EmfPlusLineCapType ROUND
public static final HemfPlusPen.EmfPlusLineCapType TRIANGLE
public static final HemfPlusPen.EmfPlusLineCapType NO_ANCHOR
public static final HemfPlusPen.EmfPlusLineCapType SQUARE_ANCHOR
public static final HemfPlusPen.EmfPlusLineCapType ROUND_ANCHOR
public static final HemfPlusPen.EmfPlusLineCapType DIAMOND_ANCHOR
public static final HemfPlusPen.EmfPlusLineCapType ARROW_ANCHOR
public static final HemfPlusPen.EmfPlusLineCapType ANCHOR_MASK
public static final HemfPlusPen.EmfPlusLineCapType CUSTOM
public static HemfPlusPen.EmfPlusLineCapType[] values()
for (HemfPlusPen.EmfPlusLineCapType c : HemfPlusPen.EmfPlusLineCapType.values()) System.out.println(c);
public static HemfPlusPen.EmfPlusLineCapType 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 static HemfPlusPen.EmfPlusLineCapType valueOf(int id)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.