Options
All
  • Public
  • Public/Protected
  • All
Menu

A common interface for different kinds of path segments.

Hierarchy

Implemented by

Index

Properties

clone

clone: () => PathSegment

Create a deep clone of this path segment.

method

clone

memberof

PathSegment

returns

A deep clone/copy of this path segment.

Type declaration

reverse

reverse: () => PathSegment

Revserse this path segment (in-place) and return this same instance (useful for chaining). The new path segment has start and end point swapped.

method

reverse

memberof

PathSegment

returns

This path segment instance (for chaining).

Type declaration

Methods

getEndPoint

getEndTangent

  • Get the tangent's end point at the end point of this segment.

    method

    getEndTangent

    memberof

    PathSegment

    Returns Vertex

    The end point of the ending point's tangent.

getStartPoint

getStartTangent

  • Get the tangent's end point at the start point of this segment.

    method

    getStartTangent

    memberof

    PathSegment

    Returns Vertex

    The end point of the starting point's tangent.

Legend

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

Generated using TypeDoc