Class ColorRgb128Float Struct

Represents a color in terms of red, green and blue channels, using 32 bits per channel.

Constructors:

NameDescription
Public methodColorRgb128Float(Single) Initializes a new instance of the ColorRgb128Float class using the same value for all channels.
Public methodColorRgb128Float(Single, Single, Single) Initializes a new instance of the ColorRgb128Float class using the specified color channel values.

Methods:

NameDescription
Public methodToString() Creates a string representation of the color.
Public methodAdd(ColorRgb128Float, ColorRgb128Float)Adds two ColorRgb128Float structures.
Public methodDivide(ColorRgb128Float, Single)Divides the red, blue, and green channels of the specified ColorRgb128Float structure by the specified value.
Public methodDivide(ColorRgb128Float, ColorRgb128Float)Divides a ColorRgb128Float structure by a ColorRgb128Float structure channel by channel.
Public methodMultiply(ColorRgb128Float, Single)Multiplies the red, blue, and green channels of the specified ColorRgb128Float structure by the specified value.
Public methodMultiply(ColorRgb128Float, ColorRgb128Float)Multiplies two ColorRgb128Float structures channel by channel.
Public methodPower(ColorRgb128Float, Double)Raises the red, blue, and green channels of the specified ColorRgb128Float structure to the specified value.
Public methodScFromRgb(Single, Single, Single)Creates a new ColorRgb128Float structure in ScRGB space by using the specified sRGB color channel values.
Public methodScFromRgb(ColorRgb128Float)Creates a new ColorRgb128Float structure in ScRGB space by using the specified sRGB color.
Public methodSubstract(ColorRgb128Float, ColorRgb128Float)Subtracts a ColorRgb128Float structure from a ColorRgb128Float structure.

Operators:

NameDescription
Public operatorAddition(ColorRgb128Float, ColorRgb128Float)Adds two ColorRgb128Float structures.
Public operatorDivision(ColorRgb128Float, Single)Divides the red, blue, and green channels of the specified ColorRgb128Float structure by the specified value.
Public operatorDivision(ColorRgb128Float, ColorRgb128Float)Divides a ColorRgb128Float structure by a ColorRgb128Float structure channel by channel.
Public operatorMultiply(ColorRgb128Float, Single)Multiplies the red, blue, and green channels of the specified ColorRgb128Float structure by the specified value.
Public operatorMultiply(ColorRgb128Float, ColorRgb128Float)Multiplies two ColorRgb128Float structures channel by channel.
Public operatorSubtraction(ColorRgb128Float, ColorRgb128Float)Subtracts a ColorRgb128Float structure from a ColorRgb128Float structure.

Fields:

NameDescription
Public fieldB B channel.
Public fieldG G channel.
Public fieldR R channel.