x([x])

Class: Text. Method inherited from Shape.

Description:

Sets or gets X position of the shape relative to left edge of its parent component.

Parameters:

Name Type Description

[x]

number

X position integer.

Returns:

If called without arguments, current X position is returned; otherwise this shape is returned for method chaining.

Type: number | this

Also See: