A color/position pair for Gradient values!

Instance Fields and Properties

Color color The color for this item, can be whatever color space you want, as long as it’s consistent with the other keys.
float position Typically a value between 0-1! This is the position of the color along the ‘x-axis’ of the gradient.

Instance Methods

GradientKey A basic copy constructor for GradientKey.