Initializes a new instance of the ColorInfo struct.
Clamps the alpha to [0, 1].
Namespace: Spotfire.Dxp.Framework.Styles
Assembly: Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 23.18.9504.3877 (23.18.9504.3877)
Syntax
C#
public ColorInfo( byte r, byte g, byte b, float a )
Parameters
- r
- Type: SystemByte
The red component. - g
- Type: SystemByte
The green component. - b
- Type: SystemByte
The blue component. - a
- Type: SystemSingle
The alpha component. Clamped to [0, 1].
Version Information
See Also