Ramp.Spline

Description

Name

class Tinman.Color.Ramp.Spline

Derived from

Tinman.Color.Ramp

A color ramp consists of one or more color ramp slots; each slot holds an X-coordinate and a color value.

Fields / Required

colors

Type

Tinman.Color[]

Constraint

# != null

The color values of each color ramp slot.

Fields / Optional

coords

Type

number[]

Default

null

The X-coordinates of each color ramp slot.