hAlign(...)
hAlign(val: Z.Text.HAlign): this;
Sets the horizontal alignment of text in the bounding box.
Default value: Z.Text.HAlign.left
Parameters
Parameter | Type | Description |
---|---|---|
val | Z.Text.HAlign | The horizontal alignment to set. |
Returns
this