Generic color interface. More...
Properties | |
byte | ComponentsCount [get] |
Number of the components of this IColor. | |
Pixel.Type | PixelType [get] |
Pixel.Type of this IColor. | |
float | this [int c] [get, set] |
Color component access. |
Generic color interface.
byte Derm.Render.IColor.ComponentsCount [get] |
Number of the components of this IColor.
Pixel.Type Derm.Render.IColor.PixelType [get] |
Pixel.Type of this IColor.
float Derm.Render.IColor.this[int c] [get, set] |
Color component access.
c | A System.Int32 indicating the color component index (0 based, not limited by interface). For having meaningfull values set this parameter to a value less than ComponentsCount, otherwise interface implementors shall return 0.0f. |
To make them explicit, here is the mapping between RGB/RGBA color components and this parameter: