add_rect


Description:

public void add_rect (Rect rect)

Adds rect as a new contour to the path built by the builder.

The path is going around the rectangle in clockwise direction.

If the the width or height are 0, the path will be a closed horizontal or vertical line. If both are 0, it'll be a closed dot.

Parameters:

this

A `GskPathBuilder`

rect

The rectangle to create a path for