public static enum OtfNameConstants.WidthClass extends Enum<OtfNameConstants.WidthClass>
| Enum Constant and Description |
|---|
CONDENSED |
EXPANDED |
EXTRA_CONDENSED |
EXTRA_EXPANDED |
MEDIUM |
SEMI_CONDENSED |
SEMI_EXPANDED |
ULTRA_CONDENSED |
ULTRA_EXPANDED |
| Modifier and Type | Method and Description |
|---|---|
static OtfNameConstants.WidthClass |
fromInt(int i) |
double |
getPercentNormal() |
int |
getValue() |
static OtfNameConstants.WidthClass |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OtfNameConstants.WidthClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OtfNameConstants.WidthClass ULTRA_CONDENSED
public static final OtfNameConstants.WidthClass EXTRA_CONDENSED
public static final OtfNameConstants.WidthClass CONDENSED
public static final OtfNameConstants.WidthClass SEMI_CONDENSED
public static final OtfNameConstants.WidthClass MEDIUM
public static final OtfNameConstants.WidthClass SEMI_EXPANDED
public static final OtfNameConstants.WidthClass EXPANDED
public static final OtfNameConstants.WidthClass EXTRA_EXPANDED
public static final OtfNameConstants.WidthClass ULTRA_EXPANDED
public static OtfNameConstants.WidthClass[] values()
for (OtfNameConstants.WidthClass c : OtfNameConstants.WidthClass.values()) System.out.println(c);
public static OtfNameConstants.WidthClass valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getValue()
public double getPercentNormal()
public static OtfNameConstants.WidthClass fromInt(int i)
Copyright © 2018. All rights reserved.