animator.skia.PathBuilder¶
- class animator.skia.PathBuilder¶
Bases:
pybind11_builtins.pybind11_object
- __init__(*args, **kwargs)¶
Overloaded function.
__init__(self: animator.skia.PathBuilder) -> None
__init__(self: animator.skia.PathBuilder, ft: animator.skia.PathFillType) -> None
__init__(self: animator.skia.PathBuilder, src: animator.skia.Path) -> None
__init__(self: animator.skia.PathBuilder, pathBuilder: animator.skia.PathBuilder) -> None
Methods
__init__
(*args, **kwargs)Overloaded function.
addArc
(self, oval, startAngleDeg, sweepAngleDeg)addCircle
(self, center_x, center_y, radius, dir)addOval
(*args, **kwargs)Overloaded function.
addPath
(self, src)addPolygon
(self, pts, isClosed)addRRect
(*args, **kwargs)Overloaded function.
addRect
(*args, **kwargs)Overloaded function.
arcTo
(*args, **kwargs)Overloaded function.
close
(self)computeBounds
(self)conicTo
(*args, **kwargs)Overloaded function.
cubicTo
(*args, **kwargs)Overloaded function.
detach
(self)fillType
(self)incReserve
(*args, **kwargs)Overloaded function.
lineTo
(*args, **kwargs)Overloaded function.
moveTo
(*args, **kwargs)Overloaded function.
offset
(self, dx, dy)polylineTo
(self, pts)Append a series of line segments to the path between adjacent points in the list.
quadTo
(*args, **kwargs)Overloaded function.
rConicTo
(*args, **kwargs)Overloaded function.
rCubicTo
(*args, **kwargs)Overloaded function.
rLineTo
(*args, **kwargs)Overloaded function.
rQuadTo
(*args, **kwargs)Overloaded function.
reset
(self)setFillType
(self, ft)setIsVolatile
(self, isVolatile)snapshot
(self)toggleInverseFillType
(self)- class ArcSize¶
Bases:
pybind11_builtins.pybind11_object
Members:
kSmall_ArcSize
kLarge_ArcSize
- property name¶
- addArc(self: animator.skia.PathBuilder, oval: animator.skia.Rect, startAngleDeg: float, sweepAngleDeg: float) animator.skia.PathBuilder ¶
- addCircle(self: animator.skia.PathBuilder, center_x: float, center_y: float, radius: float, dir: animator.skia.PathDirection = <PathDirection.kCW: 0>) animator.skia.PathBuilder ¶
- addOval(*args, **kwargs)¶
Overloaded function.
addOval(self: animator.skia.PathBuilder, oval: animator.skia.Rect, dir: animator.skia.PathDirection, index: int) -> animator.skia.PathBuilder
addOval(self: animator.skia.PathBuilder, rect: animator.skia.Rect, dir: animator.skia.PathDirection = <PathDirection.kCW: 0>) -> animator.skia.PathBuilder
- addPath(self: animator.skia.PathBuilder, src: animator.skia.Path) animator.skia.PathBuilder ¶
- addPolygon(self: animator.skia.PathBuilder, pts: List[animator.skia.Point], isClosed: bool) animator.skia.PathBuilder ¶
- addRRect(*args, **kwargs)¶
Overloaded function.
addRRect(self: animator.skia.PathBuilder, rrect: animator.skia.RRect, dir: animator.skia.PathDirection, index: int) -> animator.skia.PathBuilder
addRRect(self: animator.skia.PathBuilder, rrect: animator.skia.RRect, dir: animator.skia.PathDirection = <PathDirection.kCW: 0>) -> animator.skia.PathBuilder
- addRect(*args, **kwargs)¶
Overloaded function.
addRect(self: animator.skia.PathBuilder, rect: animator.skia.Rect, dir: animator.skia.PathDirection, index: int) -> animator.skia.PathBuilder
addRect(self: animator.skia.PathBuilder, rect: animator.skia.Rect, dir: animator.skia.PathDirection = <PathDirection.kCW: 0>) -> animator.skia.PathBuilder
- arcTo(*args, **kwargs)¶
Overloaded function.
arcTo(self: animator.skia.PathBuilder, oval: animator.skia.Rect, startAngleDeg: float, sweepAngleDeg: float, forceMoveTo: bool) -> animator.skia.PathBuilder
arcTo(self: animator.skia.PathBuilder, p1: animator.skia.Point, p2: animator.skia.Point, radius: float) -> animator.skia.PathBuilder
arcTo(self: animator.skia.PathBuilder, r: animator.skia.Point, xAxisRotate: float, largeArc: animator.skia.PathBuilder.ArcSize, sweep: animator.skia.PathDirection, xy: animator.skia.Point) -> animator.skia.PathBuilder
- close(self: animator.skia.PathBuilder) animator.skia.PathBuilder ¶
- computeBounds(self: animator.skia.PathBuilder) animator.skia.Rect ¶
- conicTo(*args, **kwargs)¶
Overloaded function.
conicTo(self: animator.skia.PathBuilder, pt1: animator.skia.Point, pt2: animator.skia.Point, w: float) -> animator.skia.PathBuilder
conicTo(self: animator.skia.PathBuilder, x1: float, y1: float, x2: float, y2: float, w: float) -> animator.skia.PathBuilder
conicTo(self: animator.skia.PathBuilder, pts: List[animator.skia.Point], w: float) -> animator.skia.PathBuilder
- cubicTo(*args, **kwargs)¶
Overloaded function.
cubicTo(self: animator.skia.PathBuilder, pt1: animator.skia.Point, pt2: animator.skia.Point, pt3: animator.skia.Point) -> animator.skia.PathBuilder
cubicTo(self: animator.skia.PathBuilder, x1: float, y1: float, x2: float, y2: float, x3: float, y3: float) -> animator.skia.PathBuilder
cubicTo(self: animator.skia.PathBuilder, pts: List[animator.skia.Point]) -> animator.skia.PathBuilder
- detach(self: animator.skia.PathBuilder) animator.skia.Path ¶
- fillType(self: animator.skia.PathBuilder) animator.skia.PathFillType ¶
- incReserve(*args, **kwargs)¶
Overloaded function.
incReserve(self: animator.skia.PathBuilder, extraPtCount: int, extraVerbCount: int) -> None
incReserve(self: animator.skia.PathBuilder, extraPtCount: int) -> None
- lineTo(*args, **kwargs)¶
Overloaded function.
lineTo(self: animator.skia.PathBuilder, pt: animator.skia.Point) -> animator.skia.PathBuilder
lineTo(self: animator.skia.PathBuilder, x: float, y: float) -> animator.skia.PathBuilder
- moveTo(*args, **kwargs)¶
Overloaded function.
moveTo(self: animator.skia.PathBuilder, pt: animator.skia.Point) -> animator.skia.PathBuilder
moveTo(self: animator.skia.PathBuilder, x: float, y: float) -> animator.skia.PathBuilder
- offset(self: animator.skia.PathBuilder, dx: float, dy: float) animator.skia.PathBuilder ¶
- polylineTo(self: animator.skia.PathBuilder, pts: List[animator.skia.Point]) animator.skia.PathBuilder ¶
Append a series of line segments to the path between adjacent points in the list.
- quadTo(*args, **kwargs)¶
Overloaded function.
quadTo(self: animator.skia.PathBuilder, pt1: animator.skia.Point, pt2: animator.skia.Point) -> animator.skia.PathBuilder
quadTo(self: animator.skia.PathBuilder, x1: float, y1: float, x2: float, y2: float) -> animator.skia.PathBuilder
quadTo(self: animator.skia.PathBuilder, pts: List[animator.skia.Point]) -> animator.skia.PathBuilder
- rConicTo(*args, **kwargs)¶
Overloaded function.
rConicTo(self: animator.skia.PathBuilder, pt1: animator.skia.Point, pt2: animator.skia.Point, w: float) -> animator.skia.PathBuilder
rConicTo(self: animator.skia.PathBuilder, x1: float, y1: float, x2: float, y2: float, w: float) -> animator.skia.PathBuilder
- rCubicTo(*args, **kwargs)¶
Overloaded function.
rCubicTo(self: animator.skia.PathBuilder, pt1: animator.skia.Point, pt2: animator.skia.Point, pt3: animator.skia.Point) -> animator.skia.PathBuilder
rCubicTo(self: animator.skia.PathBuilder, x1: float, y1: float, x2: float, y2: float, x3: float, y3: float) -> animator.skia.PathBuilder
- rLineTo(*args, **kwargs)¶
Overloaded function.
rLineTo(self: animator.skia.PathBuilder, pt: animator.skia.Point) -> animator.skia.PathBuilder
rLineTo(self: animator.skia.PathBuilder, x: float, y: float) -> animator.skia.PathBuilder
- rQuadTo(*args, **kwargs)¶
Overloaded function.
rQuadTo(self: animator.skia.PathBuilder, pt1: animator.skia.Point, pt2: animator.skia.Point) -> animator.skia.PathBuilder
rQuadTo(self: animator.skia.PathBuilder, x1: float, y1: float, x2: float, y2: float) -> animator.skia.PathBuilder
- reset(self: animator.skia.PathBuilder) animator.skia.PathBuilder ¶
- setFillType(self: animator.skia.PathBuilder, ft: animator.skia.PathFillType) animator.skia.PathBuilder ¶
- setIsVolatile(self: animator.skia.PathBuilder, isVolatile: bool) animator.skia.PathBuilder ¶
- snapshot(self: animator.skia.PathBuilder) animator.skia.Path ¶
- toggleInverseFillType(self: animator.skia.PathBuilder) animator.skia.PathBuilder ¶