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: 65.0.19510.3242 (65.0.19510.3242)
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
Supported in: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also