PointTrait
trait PointTrait
Trait PointTrait
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.
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.