Uses of Class
micycle.peasygradients.colorspace.ColorSpace
-
Packages that use ColorSpace Package Description micycle.peasygradients.colorspace Color spaces define how the color value at each color stop is represented, which in turn affects the results of color interpolation.micycle.peasygradients.gradient 1D Gradients. -
-
Uses of ColorSpace in micycle.peasygradients.colorspace
Methods in micycle.peasygradients.colorspace that return ColorSpace Modifier and Type Method Description static ColorSpace
ColorSpace. get(int index)
Retrieves aColorSpace
based on its ordinal index.ColorSpace
ColorSpace. next()
Returns the next color space in the sequence.ColorSpace
ColorSpace. prev()
Returns the previous color space in the sequence.static ColorSpace
ColorSpace. valueOf(String name)
Returns the enum constant of this type with the specified name.static ColorSpace[]
ColorSpace. values()
Returns an array containing the constants of this enum type, in the order they are declared. -
Uses of ColorSpace in micycle.peasygradients.gradient
Fields in micycle.peasygradients.gradient declared as ColorSpace Modifier and Type Field Description ColorSpace
Gradient. colorSpace
Methods in micycle.peasygradients.gradient with parameters of type ColorSpace Modifier and Type Method Description double[]
ColorStop. getColor(ColorSpace colorSpace)
Return the value of the colorstop in a given colorspacevoid
Gradient. setColorSpace(ColorSpace colorSpace)
Sets the color space this gradient uses to represent colors.
-