Gradients
Static Class in Zigurous.ColorPro
Declaration
public static class GradientsDescription
Functions for creating and working with color gradients.
Static Properties
| HueSpectrum | A gradient of the color hue spectrum from 0° to 360°. |
Extension Methods
| ToGradient | Creates a new gradient and sets the given color keys and alpha keys. |
| ToGradientPalette | Creates a palette of colors by interpolating a linear amount of stops between a start color and end color. |
| ToGradientPaletteNonAlloc | Creates a palette of colors by interpolating a linear amount of stops between a start color and end color. The number of colors generated is determined by the size of the array. The colors are stored in an existing array to prevent heap allocations. |
| ToColors | Returns the colors of a gradient. |