public static enum OtfNameConstants.WeightClass extends Enum<OtfNameConstants.WeightClass>
| Enum Constant and Description |
|---|
BLACK |
BOLD |
EXTRA_BOLD |
EXTRA_LIGHT |
LIGHT |
MEDIUM |
NORMAL |
SEMI_BOLD |
THIN |
| Modifier and Type | Method and Description |
|---|---|
static OtfNameConstants.WeightClass |
fromInt(int i) |
int |
getValue() |
static OtfNameConstants.WeightClass |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OtfNameConstants.WeightClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OtfNameConstants.WeightClass THIN
public static final OtfNameConstants.WeightClass EXTRA_LIGHT
public static final OtfNameConstants.WeightClass LIGHT
public static final OtfNameConstants.WeightClass NORMAL
public static final OtfNameConstants.WeightClass MEDIUM
public static final OtfNameConstants.WeightClass SEMI_BOLD
public static final OtfNameConstants.WeightClass BOLD
public static final OtfNameConstants.WeightClass EXTRA_BOLD
public static final OtfNameConstants.WeightClass BLACK
public static OtfNameConstants.WeightClass[] values()
for (OtfNameConstants.WeightClass c : OtfNameConstants.WeightClass.values()) System.out.println(c);
public static OtfNameConstants.WeightClass 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 static OtfNameConstants.WeightClass fromInt(int i)
Copyright © 2016. All rights reserved.