Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PropertyNode<V>

A single node in a PropertyList.

Type parameters

  • V

Hierarchy

  • PropertyNode

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

ease

isStepped

isStepped: boolean

If this is the first node in the list, controls if the entire list is stepped or not.

next

next: PropertyNode<V>

The next node in line.

time

time: number

Time value for the node. Between 0-1.

value

value: V

Value for the node.

Methods

Static createList

  • Creates a list of property values from a data object {list, isStepped} with a list of objects in the form {value, time}. Alternatively, the data object can be in the deprecated form of {start, end}.

    Type parameters

    • T: string | number

    Parameters

    Returns PropertyNode<T extends string ? Color : T>

    The first node in the list

Generated using TypeDoc