|
||
SS_RGB(int r, int g, int b)
int r; // Integer value between 0 and 255 int g; // Integer value between 0 and 255 int b; // Integer value between 0 and 255
|
|
|||
Synopsis |
#include "silver.h"
The SS_RGB constructor initializes a SilverSharp.SS_RGB object
|
|
||
Parameters |
r is a value indicating the red contribution of the color. g is a value indicating the green contribution of the color b is a value indicating the blue contribution of the color
|
|
||
Return Value |
SS_RGB returns a SilverSharp.SS_RGB object initialized to the specified color
|
|
||
Remarks |
The values for r, g, and b are between 0 and 255. 0 indicates no contribution of the component, whereas 255 indicates full contribution of the component.
|
|
||
See Also |
|
|
||
Example |
The following code shows how to construct SilverSharp.SS_RGB objects:
|
|