Path1DPathEffect

class Path1DPathEffect

Classes

Style

Members:

Methods

Make

Dash by replicating the specified path.

__init__

Attributes

kLastEnum_Style

kMorph_Style

kRotate_Style

kTranslate_Style

Methods

static Path1DPathEffect.Make(path: SkPath, advance: float, phase: float, style: skia.Path1DPathEffect.Style) skia.PathEffect

Dash by replicating the specified path.

Parameters:
  • path (skia.Path) – The path to replicate (dash)

  • advance (float) – The space between instances of path

  • phase (float) – distance (mod advance) along path for its initial position

  • style (skia.Path1DPathEffect.Style) – how to transform path at each point (based on the current position and tangent)

Path1DPathEffect.__init__(*args, **kwargs)

Attributes

Path1DPathEffect.kLastEnum_Style = <Style.kMorph_Style: 2>
Path1DPathEffect.kMorph_Style = <Style.kMorph_Style: 2>
Path1DPathEffect.kRotate_Style = <Style.kRotate_Style: 1>
Path1DPathEffect.kTranslate_Style = <Style.kTranslate_Style: 0>