public enum Fraction extends Enum<Fraction>
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
PdfName |
getPdfName()
Gets the PdfName.
|
static Fraction |
valueOf(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 are declared.
|
public static final Fraction DECIMAL
public static final Fraction FRACTION
public static final Fraction ROUND
public static final Fraction TRUNCATE
public static Fraction[] values()
for (Fraction c : Fraction.values()) System.out.println(c);
public static Fraction valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant with the specified name
NullPointerException
- if the argument is null
public PdfName getPdfName()
Copyright © 2016. All rights reserved.