Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Loop

Represents a two-way linked loop of Curves - mostly used internally to conveniently represent shape boundaries.

Index

Constructors

Properties

Constructors

constructor

  • new Loop(beziers?: number[][][]): Loop
  • Parameters

    • Default value beziers: number[][][] = []

      A pre-ordered array of bezier curves to add initially.

    Returns Loop

Properties

beziers

beziers: number[][][]

A pre-ordered array of bezier curves to add initially.

curves

curves: Curve[]

The curves that represent the shape boundary as an array.

head

head: Curve

A handle on the linked loop.

Generated using TypeDoc