public enum PdfLineCapStyle extends java.lang.Enum<PdfLineCapStyle>
Enum Constant and Description |
---|
BUTT_CAP
The stroke is squared off at the endpoint of the path.
|
PROJECTING_SQUARE_CAP
The stroke continues beyond the endpoint of the path for a distance
equal to half the line width and is then squared off.
|
ROUND_CAP
A semicircular arc with a diameter equal to the line width is drawn
around the endpoint and filled in.
|
Modifier and Type | Method and Description |
---|---|
int |
getPdfValue()
Returns the value written into a PDF document to designate this style.
|
static PdfLineCapStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PdfLineCapStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PdfLineCapStyle BUTT_CAP
public static final PdfLineCapStyle ROUND_CAP
public static final PdfLineCapStyle PROJECTING_SQUARE_CAP
public static PdfLineCapStyle[] values()
for (PdfLineCapStyle c : PdfLineCapStyle.values()) System.out.println(c);
public static PdfLineCapStyle 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 getPdfValue()
This documentation was created 2017-01-24 at 21:26 GMT by The aXSL Group and may be freely copied. See license for details.