public final class DigitCase extends Object
ElementAttribute.digitCase.
Some fonts provide multiple digits glyphs: lining digits which work well with
uppercase letters, and old style digits which work well with lowercase
letters.
This class provides constants corresponding to this distinction.| Modifier and Type | Field and Description |
|---|---|
static DigitCase |
DEFAULT
Fonts default.
|
static DigitCase |
FROM_TYPOGRAPHIC_CASE
Derive the value from the
ElementAttribute.typographicCase attribute. |
static DigitCase |
LINING
Lining digits.
|
static DigitCase |
OLD_STYLE
Old style digits.
|
public static final DigitCase LINING
public static final DigitCase OLD_STYLE
public static final DigitCase DEFAULT
public static final DigitCase FROM_TYPOGRAPHIC_CASE
ElementAttribute.typographicCase attribute.
The value is derived as follows:
LINING, for TypographicCase.TITLE and TypographicCase.CAPS,
DEFAULT, for TypographicCase.NONE
OLD_STYLE, for the others values
Copyright © 2010 - 2020 Adobe. All Rights Reserved