Package dev.lukebemish.dynamicassetgenerator.api.colors
@NullMarked
@Experimental
package dev.lukebemish.dynamicassetgenerator.api.colors
-
ClassDescriptionRepresents a channel of a color, and how a pointwise operator to retrieve that color from an ARGB32 encoded color.Represents different types of color encodings, each with conversions to and from ABGR32, the format used by a
NativeImage.A collection of color encodings, with tools for converting between them.Colors encoded with the least significant 32 bits representing 4 8-bit channels: alpha, blue, green, and red.Colors encoded with the least significant 64 bits representing 4 16-bit channels: alpha, blue, green, and red.Colors encoded with the least significant 32 bits representing 4 8-bit channels: alpha, red, green, and blue.Colors encoded with the least significant 64 bits representing 4 16-bit channels: alpha, red, green, and blue.Colors encoded with the least significant 32 bits representing 4 8-bit channels: alpha, and the "L", "a", and "b" channels of a CIELAB encoding.Colors encoded with the least significant 64 bits representing 4 16-bit channels: alpha, and the "L", "a", and "b" channels of a CIELAB encoding.Tool for making conversions between 32-bit color spaces more performant.Tool for making conversions between 64-bit color spaces more performant.Colors encoded with the least significant 32 bits representing 4 8-bit channels: alpha, hue, saturation, and lightness.Colors encoded with the least significant 64 bits representing 4 16-bit channels: alpha, hue, saturation, and lightness.Colors encoded with the least significant 32 bits representing 4 8-bit channels: alpha, hue, saturation, and value.Colors encoded with the least significant 64 bits representing 4 16-bit channels: alpha, hue, saturation, and value.A type of color that has 4 8-bit channels, the first of which encodes the alpha value.A color type whose channels can be linearly blended by alpha blending.A color type that encodes hue and chroma-related values.A type of color that has 4 16-bit channels, the first of which encodes the alpha value.A color type whose channels can be linearly blended by alpha blending.A color type that encodes hue and chroma-related values.A collection of RGB24 colors sorted from lightest to darkest, with a cutoff for fuzzy equality.