animator.skia.OpBuilder¶
- class animator.skia.OpBuilder¶
Bases:
pybind11_builtins.pybind11_object
- __init__(self: animator.skia.OpBuilder) None ¶
Methods
__init__
(self)add
(self, path, op)resolve
(self)Computes the sum of all paths and operands and returns it, and resets the builder to its initial state.
- add(self: animator.skia.OpBuilder, path: animator.skia.Path, op: animator.skia.PathOp) None ¶
- resolve(self: animator.skia.OpBuilder) animator.skia.Path ¶
Computes the sum of all paths and operands and returns it, and resets the builder to its initial state. If the operation fails, throws a runtime error.