1
0
mirror of https://github.com/DarthAffe/CUE.NET.git synced 2025-12-13 00:58:31 +00:00

Updated Implementing an own gradient (markdown)

DarthAffe 2015-11-15 10:08:22 +01:00
parent ca325cd267
commit 0da1528929

@ -13,4 +13,4 @@ Even if it might not be needed please handle the case of a negative offset or va
If you want to work with _GradientStops_ (like the _[LinearGradient](https://github.com/DarthAffe/CUE.NET/wiki/Linear-Gradient)_) you can derive from the _[AbstractGradient](https://github.com/DarthAffe/CUE.NET/blob/master/Gradients/AbstractGradient.cs)_-class which implements some logic helping with that.
If you need a reference on how the implementation might look you can take the _[LinearGradient](https://github.com/DarthAffe/CUE.NET/blob/master/Gradients/LinearGradient.cs)_ or the _[RainbowGradient](https://github.com/DarthAffe/CUE.NET/blob/master/Gradients/RainbowGradient.cs)_.
If you need a reference on how the implementation might look, you can take the _[LinearGradient](https://github.com/DarthAffe/CUE.NET/blob/master/Gradients/LinearGradient.cs)_ or the _[RainbowGradient](https://github.com/DarthAffe/CUE.NET/blob/master/Gradients/RainbowGradient.cs)_.