SolidKit3D.Drawing.Color struct

From Solid Graphics Wiki

Jump to: navigation, search
SolidKit3D.Drawing.Color struct
Namespace: SolidKit3D.Drawing
Base type: (None)
Assembly: SolidKit.dll
Platform: .NET

The Color struct specifies a color using color's red, green, blue and alpha (transparency) components using float precision.



Constructors

Struct constructors allow to initialize the color component values from four float values, or from other System.Drawing.Color object.

Fields

Field name Type Description
R float The red color component.
G float The green color component.
B float The blue color component.
A float The transparency/opacity color component. Value 0.0f means that the color is transparent, value 1.0f means that the color is opaque.

Methods

The class has no public methods.

Predefined color constants

The Color class defines these static constants: White, LightGray, DimGray, DarkGray, Gray, Black, Yellow, Red, Green, Blue, Orange.

See Also

   


SolidKit Library Documentation

Personal tools