Class DigitWidth
- java.lang.Object
-
- com.adobe.fontengine.inlineformatting.DigitWidth
-
public final class DigitWidth extends java.lang.Object
Enumerated values forElementAttribute.digitWidth
. Some fonts provide digits in multiple widths: tabular digits all share a single width, and are appropriate for setting in tables, where the digits should be aligned; proportional digits have varying widths and are appropriate for setting in running text. This class provides constants corresponding to this distinction.
-
-
Field Summary
Fields Modifier and Type Field Description static DigitWidth
DEFAULT
Fonts default.static DigitWidth
PROPORTIONAL
Proportional digits.static DigitWidth
TABULAR
Tabular digits.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DigitWidth
parse(java.lang.String s)
java.lang.String
toString()
-
-
-
Field Detail
-
TABULAR
public static final DigitWidth TABULAR
Tabular digits.
-
PROPORTIONAL
public static final DigitWidth PROPORTIONAL
Proportional digits.
-
DEFAULT
public static final DigitWidth DEFAULT
Fonts default. This value can be used to request the default width setting, as determined by the font designer.
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
parse
public static DigitWidth parse(java.lang.String s)
-
-