animator.skia.PathBuilder

class animator.skia.PathBuilder

Bases: pybind11_builtins.pybind11_object

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: animator.skia.PathBuilder) -> None

  2. __init__(self: animator.skia.PathBuilder, ft: animator.skia.PathFillType) -> None

  3. __init__(self: animator.skia.PathBuilder, src: animator.skia.Path) -> None

  4. __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.

  1. addOval(self: animator.skia.PathBuilder, oval: animator.skia.Rect, dir: animator.skia.PathDirection, index: int) -> animator.skia.PathBuilder

  2. 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.

  1. addRRect(self: animator.skia.PathBuilder, rrect: animator.skia.RRect, dir: animator.skia.PathDirection, index: int) -> animator.skia.PathBuilder

  2. addRRect(self: animator.skia.PathBuilder, rrect: animator.skia.RRect, dir: animator.skia.PathDirection = <PathDirection.kCW: 0>) -> animator.skia.PathBuilder

addRect(*args, **kwargs)

Overloaded function.

  1. addRect(self: animator.skia.PathBuilder, rect: animator.skia.Rect, dir: animator.skia.PathDirection, index: int) -> animator.skia.PathBuilder

  2. addRect(self: animator.skia.PathBuilder, rect: animator.skia.Rect, dir: animator.skia.PathDirection = <PathDirection.kCW: 0>) -> animator.skia.PathBuilder

arcTo(*args, **kwargs)

Overloaded function.

  1. arcTo(self: animator.skia.PathBuilder, oval: animator.skia.Rect, startAngleDeg: float, sweepAngleDeg: float, forceMoveTo: bool) -> animator.skia.PathBuilder

  2. arcTo(self: animator.skia.PathBuilder, p1: animator.skia.Point, p2: animator.skia.Point, radius: float) -> animator.skia.PathBuilder

  3. 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.

  1. conicTo(self: animator.skia.PathBuilder, pt1: animator.skia.Point, pt2: animator.skia.Point, w: float) -> animator.skia.PathBuilder

  2. conicTo(self: animator.skia.PathBuilder, x1: float, y1: float, x2: float, y2: float, w: float) -> animator.skia.PathBuilder

  3. conicTo(self: animator.skia.PathBuilder, pts: List[animator.skia.Point], w: float) -> animator.skia.PathBuilder

cubicTo(*args, **kwargs)

Overloaded function.

  1. cubicTo(self: animator.skia.PathBuilder, pt1: animator.skia.Point, pt2: animator.skia.Point, pt3: animator.skia.Point) -> animator.skia.PathBuilder

  2. cubicTo(self: animator.skia.PathBuilder, x1: float, y1: float, x2: float, y2: float, x3: float, y3: float) -> animator.skia.PathBuilder

  3. 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.

  1. incReserve(self: animator.skia.PathBuilder, extraPtCount: int, extraVerbCount: int) -> None

  2. incReserve(self: animator.skia.PathBuilder, extraPtCount: int) -> None

lineTo(*args, **kwargs)

Overloaded function.

  1. lineTo(self: animator.skia.PathBuilder, pt: animator.skia.Point) -> animator.skia.PathBuilder

  2. lineTo(self: animator.skia.PathBuilder, x: float, y: float) -> animator.skia.PathBuilder

moveTo(*args, **kwargs)

Overloaded function.

  1. moveTo(self: animator.skia.PathBuilder, pt: animator.skia.Point) -> animator.skia.PathBuilder

  2. 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.

  1. quadTo(self: animator.skia.PathBuilder, pt1: animator.skia.Point, pt2: animator.skia.Point) -> animator.skia.PathBuilder

  2. quadTo(self: animator.skia.PathBuilder, x1: float, y1: float, x2: float, y2: float) -> animator.skia.PathBuilder

  3. quadTo(self: animator.skia.PathBuilder, pts: List[animator.skia.Point]) -> animator.skia.PathBuilder

rConicTo(*args, **kwargs)

Overloaded function.

  1. rConicTo(self: animator.skia.PathBuilder, pt1: animator.skia.Point, pt2: animator.skia.Point, w: float) -> animator.skia.PathBuilder

  2. rConicTo(self: animator.skia.PathBuilder, x1: float, y1: float, x2: float, y2: float, w: float) -> animator.skia.PathBuilder

rCubicTo(*args, **kwargs)

Overloaded function.

  1. rCubicTo(self: animator.skia.PathBuilder, pt1: animator.skia.Point, pt2: animator.skia.Point, pt3: animator.skia.Point) -> animator.skia.PathBuilder

  2. 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.

  1. rLineTo(self: animator.skia.PathBuilder, pt: animator.skia.Point) -> animator.skia.PathBuilder

  2. rLineTo(self: animator.skia.PathBuilder, x: float, y: float) -> animator.skia.PathBuilder

rQuadTo(*args, **kwargs)

Overloaded function.

  1. rQuadTo(self: animator.skia.PathBuilder, pt1: animator.skia.Point, pt2: animator.skia.Point) -> animator.skia.PathBuilder

  2. 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