|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Fraction>
com.itextpdf.text.pdf.spatial.units.Fraction
public enum Fraction
Indicates whether and in what manner to display a fractional value from the result of converting to the units
| Enum Constant Summary | |
|---|---|
DECIMAL
Show as decimal to the precision specified by D |
|
FRACTION
Show as a fraction with denominator specified by D |
|
ROUND
No fractional part; round to the nearest whole unit. |
|
TRUNCATE
No fractional part; truncate to achieve whole units. |
|
| Method Summary | |
|---|---|
com.itextpdf.text.pdf.PdfName |
getPdfName()
Gets the PdfName. |
static Fraction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Fraction[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Fraction DECIMAL
public static final Fraction FRACTION
public static final Fraction ROUND
public static final Fraction TRUNCATE
| Method Detail |
|---|
public static final Fraction[] values()
for(Fraction c : Fraction.values())
System.out.println(c);
public static Fraction 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 com.itextpdf.text.pdf.PdfName getPdfName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||