animator.skia.Vertices¶
- class animator.skia.Vertices¶
Bases:
pybind11_builtins.pybind11_object- __init__(self: animator.skia.Vertices, mode: animator.skia.Vertices.VertexMode, positions: List[animator.skia.Point], texs: Optional[List[animator.skia.Point]] = None, colors: Optional[List[int]] = None, indices: Optional[List[int]] = None) None¶
Create a vertices by copying the specified arrays.
Methods
MakeCopy(mode, positions, texs, colors[, ...])Create a vertices by copying the specified arrays.
__init__(self, mode, positions[, texs, ...])Create a vertices by copying the specified arrays.
approximateSize(self)bounds(self)uniqueID(self)- static MakeCopy(mode: animator.skia.Vertices.VertexMode, positions: List[animator.skia.Point], texs: Optional[List[animator.skia.Point]], colors: Optional[List[int]], indices: Optional[List[int]] = None) animator.skia.Vertices¶
Create a vertices by copying the specified arrays.
- class VertexMode¶
Bases:
pybind11_builtins.pybind11_objectMembers:
kTriangles_VertexMode
kTriangleStrip_VertexMode
kTriangleFan_VertexMode
kLast_VertexMode
- property name¶
- approximateSize(self: animator.skia.Vertices) int¶
- bounds(self: animator.skia.Vertices) animator.skia.Rect¶
- uniqueID(self: animator.skia.Vertices) int¶