public enum CapStyle extends Enum<CapStyle>
Style of line ending of Ink annotation line.
Enum Constant and Description |
---|
Rectangular
End is rectangular.
|
Rounded
End is rounded.
|
Modifier and Type | Method and Description |
---|---|
static CapStyle |
getByValue(int value) |
int |
getValue() |
static CapStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CapStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CapStyle Rectangular
End is rectangular.
public static final CapStyle Rounded
End is rounded.
public static CapStyle[] values()
for (CapStyle c : CapStyle.values()) System.out.println(c);
public static CapStyle 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 nullpublic int getValue()
public static CapStyle getByValue(int value)
Copyright © 2025 Aspose. All Rights Reserved.