meo-skia-canvas
    Preparing search index...

    Variable Path2D

    Path2D: { prototype: Path2D; new (path?: string | Path2D): Path2D }

    A reusable path, drawable on any context.

    Type Declaration

      • new (path?: string | Path2D): Path2D
      • A copy of another path, a path parsed from SVG path data, or an empty one.

        Parameters

        • Optionalpath: string | Path2D

        Returns Path2D

    • prototype: Path2D

      The prototype every instance inherits from.