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: 51.0.16121.3915 (51.0.16121.3915)
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: 11.4, 11.3, 11.2, 11.1, 11.0, 10.10, 7.11
See Also