UI\Draw\Path::addRectangle
PHP function
Edit on GitHub ✎
(UI 0.9.9)
Draw a Rectangle
Description
UI\Draw\Path::addRectangle(UI\Point $point, UI\Size $size)
Shall map the path of a rectangle of the given size, at the given point
Parameters
pointThe point to begin the shape
sizeThe size of the rectangle