Paths — Pycairo documentation (original) (raw)
class Path()
class cairo.Path
Path cannot be instantiated directly, it is created by callingContext.copy_path() and Context.copy_path_flat().
str(path) lists the path elements.
See path attributes
Path is an iterator.
See examples/warpedtext.py for example usage.
__iter__() → Iterator[tuple[PathDataType, tuple[float, ...]]]