Initializes a new instance of the ColorInfo struct.
Clamps the color components to the range [0, 255] and 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( int r, int g, int b, float a )
Parameters
- r
- Type: SystemInt32
The red component. - g
- Type: SystemInt32
The green component. - b
- Type: SystemInt32
The blue component. - a
- Type: SystemSingle
The alpha component.
Version Information
See Also