Options
All
  • Public
  • Public/Protected
  • All
Menu

A common interface for general path representations.

Hierarchy

Implemented by

Index

Properties

clone

clone: () => Path

Create a deep clone of this path.

method

clone

memberof

Path

returns

A deep clone/copy of this path.

Type declaration

getSegmentAt

getSegmentAt: (index: number) => PathSegment

Get the path segment at the given index.

method

getSegmentAt

memberof

Path

returns

The paths segment at the given index.

Type declaration

getSegmentCount

getSegmentCount: () => number

Get the number of segments in this path.

method

getSegmentCount

memberof

Path

returns

The number (integer) of path segments.

Type declaration

    • (): number
    • Returns number

reverse

reverse: () => Path

Reverse this path (swap start and end and thus – the direction) in-place.

method

revert

memberof

Path

returns

This path instance.

Type declaration

Methods

getEndPoint

getEndTangent

getStartPoint

getStartTangent

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Private property
  • Private method
  • Static property
  • Static method

Generated using TypeDoc