PaintedGradientOptions
A vertical gradient a painted surface’s colour is multiplied by: the bottom colour at and below one height, the top colour at and above another, eased between, so the band’s ends show no line.
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
bottomColor |
ColorRepresentation |
The colour at and below bottomHeight, such as a trunk’s dark foot. |
bottomHeight |
number |
The height the gradient starts at, in space. |
space? |
GradientSpace |
Where the heights are measured. Left out, GradientSpace.Model. |
topColor |
ColorRepresentation |
The colour at and above topHeight, such as a crown’s lit top. |
topHeight |
number |
The height the gradient ends at, above bottomHeight. |