Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PathParser

Hierarchy

  • PathParser

Index

Constructors

constructor

Properties

Private angles

angles: number[] = []

command

command: string = ""

control

control: Point = null

current

current: Point = null

Private i

i: number = -1

Private points

points: Point[] = []

Private previousCommand

previousCommand: string = ""

start

start: Point = null

Private tokens

tokens: string[] = []

Methods

addMarker

addMarkerAngle

  • addMarkerAngle(point: Point, angle: number): void

getAsControlPoint

  • getAsControlPoint(): Point

getAsCurrentPoint

  • getAsCurrentPoint(): Point

getMarkerAngles

  • getMarkerAngles(): number[]

getMarkerPoints

  • getMarkerPoints(): Point[]

getPoint

getReflectedControlPoint

  • getReflectedControlPoint(): Point

getScalar

  • getScalar(): number

getToken

  • getToken(): string

isCommandOrEnd

  • isCommandOrEnd(): boolean

isEnd

  • isEnd(): boolean

isRelativeCommand

  • isRelativeCommand(): boolean

makeAbsolute

nextCommand

  • nextCommand(): void

reset

  • reset(): void

Generated using TypeDoc