public static enum Context2d.TextBaseline extends Enum<Context2d.TextBaseline>
Context2d.setTextBaseline(TextBaseline)
Enum Constant and Description |
---|
ALPHABETIC |
BOTTOM |
HANGING |
IDEOGRAPHIC |
MIDDLE |
TOP |
Modifier and Type | Method and Description |
---|---|
String |
getValue() |
static Context2d.TextBaseline |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Context2d.TextBaseline[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, createValueOfMap, equals, getDeclaringClass, hashCode, name, obfuscatedName, ordinal, toString, valueOf, valueOf
public static final Context2d.TextBaseline ALPHABETIC
public static final Context2d.TextBaseline BOTTOM
public static final Context2d.TextBaseline HANGING
public static final Context2d.TextBaseline IDEOGRAPHIC
public static final Context2d.TextBaseline MIDDLE
public static final Context2d.TextBaseline TOP
public static Context2d.TextBaseline[] values()
for (Context2d.TextBaseline c : Context2d.TextBaseline.values()) System.out.println(c);
public static Context2d.TextBaseline 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 String getValue()
Copyright © 2018. All rights reserved.