AbsolutePositionTrait
trait AbsolutePositionTrait
Trait AbsolutePositionTrait
Methods
x(int|float|string $x)
Sets the x dimension of the point.
y(int|float|string $y)
Sets the y dimension of the point.
point(int|float|string $x = null, int|float|string $y = null)
Sets the x and y dimensions of the point.
position(int|float|string $x = null, int|float|string $y = null)
Sets the absolute position.
Details
$this
x(int|float|string $x)
Sets the x dimension of the point.
$this
y(int|float|string $y)
Sets the y dimension of the point.
PointTrait
point(int|float|string $x = null, int|float|string $y = null)
Sets the x and y dimensions of the point.
$this
position(int|float|string $x = null, int|float|string $y = null)
Sets the absolute position.