hAlign(...)
Studio is being deprecated, please head over to the documentation page for Mattercraft, our most advanced 3D tool for the web, where you can find the most recent information and tutorials.
hAlign(val: Z.Text.HAlign): this;
Sets the horizontal alignment of text in the bounding box.
Default value: Z.Text.HAlign.left
Parameters
Section titled “Parameters”Parameter | Type | Description |
---|---|---|
val | Z.Text.HAlign | The horizontal alignment to set. |
Returns
Section titled “Returns”this