addRect abstract method

void addRect(
  1. Rect rect
)

Adds a new sub-path that consists of four lines that outline the given rectangle.

Implementation

void addRect(Rect rect);