Package | Description |
---|---|
org.pepstock.charba.client.dom.elements |
Contains a set of DOM elements that Charba is using.
|
org.pepstock.charba.client.dom.enums |
Contains enumerations used inside the DOM tree to set properties or invokes methods of elements or items.
|
Modifier and Type | Method and Description |
---|---|
TextAlign |
Context2dItem.getTextAlign()
Returns the current text alignment used when drawing text.
|
Modifier and Type | Method and Description |
---|---|
void |
Context2dItem.setTextAlign(TextAlign textAlign)
Sets the current text alignment used when drawing text.
|
Modifier and Type | Method and Description |
---|---|
static TextAlign |
TextAlign.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextAlign[] |
TextAlign.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|