Skip to content

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

ParameterTypeDescription
valZ.Text.HAlignThe horizontal alignment to set.

this