diff --git a/Understanding-CUE.NET-gradients.md b/Understanding-CUE.NET-gradients.md index 30404ce..0fe8ad5 100644 --- a/Understanding-CUE.NET-gradients.md +++ b/Understanding-CUE.NET-gradients.md @@ -1 +1,12 @@ -TODO \ No newline at end of file +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](https://github.com/DarthAffe/CUE.NET/wiki/Understanding-CUE.NET-brushes) come into play. +Most of them get there color values provided by a gradient. + +CUE.NET provides by default two gradients: +* [Linear-Gradient](https://github.com/DarthAffe/CUE.NET/wiki/Linear-Gradient) +* [Rainbow-Gradient](https://github.com/DarthAffe/CUE.NET/wiki/Rainbow-Gradient) + +Of course you can always [implement your own gradient](https://github.com/DarthAffe/CUE.NET/wiki/Implementing-an-own-gradient). \ No newline at end of file