Paths

class Path()

class cairo.Path

Path 不能被直接实例化,只能通过调用 Context.copy_path()Context.copy_path_flat() 创建。

str(path) 会列出路径的所有元素。

参考 PATH attributes

Path 是一个迭代器。

例子用法参考 examples/warpedtext.py 。