Color
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Color.type
Members list
Value members
Concrete methods
Creates a new color from RGB values (on the [0-255] range). Overflow/Underflow will wrap around.
Creates a new color from RGB values (on the [0-255] range). Overflow/Underflow will wrap around.
Attributes
Creates a new color from RGBA values (on the [0-255] range). Overflow/Underflow will wrap around.
Creates a new color from RGBA values (on the [0-255] range). Overflow/Underflow will wrap around.
Attributes
Creates a new color from RGB values (assuming unsinged bytes on the [0-255] range).
Creates a new color from RGB values (assuming unsinged bytes on the [0-255] range).
Attributes
Creates a new color from RGBA values (assuming unsinged bytes on the [0-255] range).
Creates a new color from RGBA values (assuming unsinged bytes on the [0-255] range).
Attributes
Creates a new color from a 32bit backed ABGR integer.
Creates a new color from a 32bit backed ABGR integer.
Attributes
Creates a new color from a 32bit backed ARGB integer.
Creates a new color from a 32bit backed ARGB integer.
Attributes
Creates a new color from a 24bit backed BGR integer. Ignores the first byte of a 32bit number.
Creates a new color from a 24bit backed BGR integer. Ignores the first byte of a 32bit number.
Attributes
Creates a new color from a 24bit backed RGB integer. Ignores the first byte of a 32bit number.
Creates a new color from a 24bit backed RGB integer. Ignores the first byte of a 32bit number.
Attributes
Creates a new color from a grayscale value (on the [0-255] range). Overflow/Underflow will wrap around.
Creates a new color from a grayscale value (on the [0-255] range). Overflow/Underflow will wrap around.
Attributes
Creates a new color from a grayscale value (assuming unsigned bytes on the [0-255] range).
Creates a new color from a grayscale value (assuming unsigned bytes on the [0-255] range).
Attributes
Extensions
Extensions
Combines this with another color by multiplying each RGB value (on the [0.0, 1.0] range). Values are clamped on overflow.
Combines this with another color by multiplying each RGB value (on the [0.0, 1.0] range). Values are clamped on overflow.
The resulting alpha is set to 255.
Attributes
Combines this with another color by multiplying each RGB value (on the [0.0, 1.0] range). Values are clamped on overflow.
Combines this with another color by multiplying each RGB value (on the [0.0, 1.0] range). Values are clamped on overflow.
The alpha of the right-side argument is kept.
Attributes
Combines this with another color by summing each RGB value. Values are clamped on overflow.
Combines this with another color by summing each RGB value. Values are clamped on overflow.
The resulting alpha is set to 255.
Attributes
Combines this with another color by summing each RGB value. Values are clamped on overflow.
Combines this with another color by summing each RGB value. Values are clamped on overflow.
The alpha of the right-side argument is kept.
Attributes
Combines this with another color by subtracting each RGB value. Values are clamped on underflow.
Combines this with another color by subtracting each RGB value. Values are clamped on underflow.
The resulting alpha is set to 255.
Attributes
Combines this with another color by subtracting each RGB value. Values are clamped on underflow.
Combines this with another color by subtracting each RGB value. Values are clamped on underflow.
The alpha of the right-side argument is kept.
Attributes
Combines this with another color by multiplying each RGB value (on the [0.0, 1.0] range). Values are clamped on overflow.
Combines this with another color by multiplying each RGB value (on the [0.0, 1.0] range). Values are clamped on overflow.
The alpha of the left-side argument is kept.
Attributes
Combines this with another color by summing each RGB value. Values are clamped on overflow.
Combines this with another color by summing each RGB value. Values are clamped on overflow.
The alpha of the left-side argument is kept.
Attributes
Combines this with another color by subtracting each RGB value. Values are clamped on underflow.
Combines this with another color by subtracting each RGB value. Values are clamped on underflow.
The alpha of the left-side argument is kept.
Attributes
This color packed as a 32 bit integer in ABGR.
This color packed as a 32 bit integer in ABGR.
Attributes
this color packed as a 32 bit integer in ARGB.
this color packed as a 32 bit integer in ARGB.
Attributes
Inverts this color by inverting every RGB channel.
Inverts this color by inverting every RGB channel.
The alpha is preserved
Attributes
Multiplies all channels by the alpha.
Multiplies all channels by the alpha.
Attributes
This color packed as a 24 bit integer in RGB (with the first byte set to 0).
This color packed as a 24 bit integer in RGB (with the first byte set to 0).