ColorSequence
Represents a sequence of colors along with their corresponding positions in a normalized range 0.0, 1.0. The ColorSequence
allows for creating interpolated colors between the specified color points.
Properties
Functions
Link copied to clipboard
fun toColorBuffer(drawer: Drawer, width: Int = 256, height: Int = 16, type: ColorType = ColorType.UINT8_SRGB, format: ColorFormat = ColorFormat.RGBa): ColorBuffer
Converts a color sequence into a color buffer with a gradient representation.