UI\Draw\Path::addRectangle

(UI 0.9.9)

UI\Draw\Path::addRectangleDraw a Rectangle

说明

public 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

参数

point

The point to begin the shape

size

The size of the rectangle