public enum XpsLineCap extends Enum<XpsLineCap>
Valid values of Path element's StrokeStartLineCap and StrokeEndLineCap properties.
Enum Constant and Description |
---|
Flat
Flat line cap.
|
Round
Round line cap.
|
Square
Square line cap.
|
Triangle
Triangle line cap.
|
Modifier and Type | Method and Description |
---|---|
static XpsLineCap |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XpsLineCap[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XpsLineCap Flat
Flat line cap.
public static final XpsLineCap Round
Round line cap.
public static final XpsLineCap Square
Square line cap.
public static final XpsLineCap Triangle
Triangle line cap.
public static XpsLineCap[] values()
for (XpsLineCap c : XpsLineCap.values()) System.out.println(c);
public static XpsLineCap valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null