1
0
mirror of https://github.com/DarthAffe/CUE.NET.git synced 2025-12-12 16:58:29 +00:00
2
Understanding CUE.NET gradients
DarthAffe edited this page 2015-11-14 15:14:10 +01:00

CUE.NET defines a gradient as a line on which each point represents a specific color.
Usually this color is calculated from either a set of GradientStops or any other function.

Please note that a gradient does not define any shape or something similar. It's just calculating a color for the specified offset on itself.
A gradient itself is therefore barely useful. That's where brushes come into play. Most of them get there color values provided by a gradient.

CUE.NET provides by default two gradients:

Of course you can always implement your own gradient.