|
aXSL API 0.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PdfLineCapStyle>
org.axsl.pdf.PdfLineCapStyle
public enum PdfLineCapStyle
Enumeration of the possible line cap styles in PDF. The line cap specified the shape to be used at the ends of open subpaths (and dashes) when they are stroked. See PDF Reference, 3rd Edition, Section 4.3.2, Subsection "Line Cap Style".
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
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're declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final PdfLineCapStyle BUTT_CAP
public static final PdfLineCapStyle ROUND_CAP
public static final PdfLineCapStyle PROJECTING_SQUARE_CAP
Method Detail |
---|
public static final 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 namepublic int getPdfValue()
|
aXSL API 0.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
This documentation was created August 8 2007 by The aXSL Group and may be freely copied. See license for details.