Adds a new subpath that consists of four lines that outline the given rectangle.
Source
void addRect(Rect rect) { assert(_rectIsValid(rect)); _addRect(rect.left, rect.top, rect.right, rect.bottom); }
Adds a new subpath that consists of four lines that outline the given rectangle.
void addRect(Rect rect) { assert(_rectIsValid(rect)); _addRect(rect.left, rect.top, rect.right, rect.bottom); }