Package | Description |
---|---|
com.google.gwt.canvas.dom.client |
Classes for HTML Canvas 2D support.
|
Modifier and Type | Method and Description |
---|---|
static Context2d.TextAlign |
Context2d.TextAlign.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Context2d.TextAlign[] |
Context2d.TextAlign.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Context2d.setTextAlign(Context2d.TextAlign align)
Sets the text alignment.
|