polygon method

polygon

Defines a polygonal clip path.

Returns

The current instance of ClipPathBuilder for method chaining.

def polygon(self, points):
    ...
ParameterTypeDescription
pointslistAn array of points defining the vertices of the polygon.

See Also