Options
All
  • Public
  • Public/Protected
  • All
Menu

TODO: refactor command. The following commands are not supported. Cannot support commands that use M or z more than once M 0 0 L 1 1 Z M 1 1 L 2 2 Z

Hierarchy

  • Path

Index

Constructors

  • Parameters

    Returns Path

Properties

attrs: PathObject
commands: Command[]

Methods

  • Returns Path

  • getCommandString(): string
  • Returns string

  • parseCommandString(d: string): void
  • Parameters

    • d: string

    Returns void

  • parsePathElement(pEl: SVGPathElement): Path
  • Parameters

    • pEl: SVGPathElement

    Returns Path

  • scale(r: number): Path
  • Parameters

    • r: number

    Returns Path

Generated using TypeDoc