ColorRgb128Float Struct
Represents a color in terms of red, green and blue channels, using 32 bits per channel.
Constructors:
Name | Description | |
---|---|---|
ColorRgb128Float(Single) | Initializes a new instance of the ColorRgb128Float class using the same value for all channels. | |
ColorRgb128Float(Single, Single, Single) | Initializes a new instance of the ColorRgb128Float class using the specified color channel values. |
Methods:
Name | Description | |
---|---|---|
ToString() | Creates a string representation of the color. | |
Add(ColorRgb128Float, ColorRgb128Float) | Adds two ColorRgb128Float structures. | |
Divide(ColorRgb128Float, Single) | Divides the red, blue, and green channels of the specified ColorRgb128Float structure by the specified value. | |
Divide(ColorRgb128Float, ColorRgb128Float) | Divides a ColorRgb128Float structure by a ColorRgb128Float structure channel by channel. | |
Multiply(ColorRgb128Float, Single) | Multiplies the red, blue, and green channels of the specified ColorRgb128Float structure by the specified value. | |
Multiply(ColorRgb128Float, ColorRgb128Float) | Multiplies two ColorRgb128Float structures channel by channel. | |
Power(ColorRgb128Float, Double) | Raises the red, blue, and green channels of the specified ColorRgb128Float structure to the specified value. | |
ScFromRgb(Single, Single, Single) | Creates a new ColorRgb128Float structure in ScRGB space by using the specified sRGB color channel values. | |
ScFromRgb(ColorRgb128Float) | Creates a new ColorRgb128Float structure in ScRGB space by using the specified sRGB color. | |
Substract(ColorRgb128Float, ColorRgb128Float) | Subtracts a ColorRgb128Float structure from a ColorRgb128Float structure. |
Operators:
Name | Description | |
---|---|---|
Addition(ColorRgb128Float, ColorRgb128Float) | Adds two ColorRgb128Float structures. | |
Division(ColorRgb128Float, Single) | Divides the red, blue, and green channels of the specified ColorRgb128Float structure by the specified value. | |
Division(ColorRgb128Float, ColorRgb128Float) | Divides a ColorRgb128Float structure by a ColorRgb128Float structure channel by channel. | |
Multiply(ColorRgb128Float, Single) | Multiplies the red, blue, and green channels of the specified ColorRgb128Float structure by the specified value. | |
Multiply(ColorRgb128Float, ColorRgb128Float) | Multiplies two ColorRgb128Float structures channel by channel. | |
Subtraction(ColorRgb128Float, ColorRgb128Float) | Subtracts a ColorRgb128Float structure from a ColorRgb128Float structure. |
Fields:
Name | Description | |
---|---|---|
B | B channel. | |
G | G channel. | |
R | R channel. |