public final class DigitWidth extends Object
ElementAttribute.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.| Modifier and Type | Field and Description |
|---|---|
static DigitWidth |
DEFAULT
Fonts default.
|
static DigitWidth |
PROPORTIONAL
Proportional digits.
|
static DigitWidth |
TABULAR
Tabular digits.
|
| Modifier and Type | Method and Description |
|---|---|
static DigitWidth |
parse(String s) |
String |
toString() |
public static final DigitWidth TABULAR
public static final DigitWidth PROPORTIONAL
public static final DigitWidth DEFAULT
public static DigitWidth parse(String s)
Copyright © 2010 - 2020 Adobe. All Rights Reserved