Skip to content
This repository has been archived by the owner on Aug 6, 2021. It is now read-only.

Understanding CUE.NET gradients

DarthAffe edited this page Nov 14, 2015 · 2 revisions

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.