Color Class (Typed) |
Namespace: XSharp.VO.SDK
The Color type exposes the following members.
Name | Description | |
---|---|---|
Color |
Construct a color
| |
Color(DWord) |
Construct a color
| |
Color(Byte, Byte, Byte) |
Construct a color
| |
Color(Long, Long, Long) |
Construct a color
| |
Color(DWord, DWord, DWord) |
Construct a color
|
Name | Description | |
---|---|---|
Blue |
A numeric value between 0 (lowest intensity) and 255 (highest intensity) representing the amount of blue in a color.
| |
ColorRef |
A numeric value between 0 and 0xFFFFFF with the combined colors in RGB format.
| |
Green |
A numeric value between 0 (lowest intensity) and 255 (highest intensity) representing the amount of green in a color.
| |
Red |
A numeric value between 0 (lowest intensity) and 255 (highest intensity) representing the amount of red in a color.
|
Name | Description | |
---|---|---|
Destroy | Free memory resources allocated for a VObject object and its derived objects. (Inherited from VObject.) |
Name | Description | |
---|---|---|
(Color to Color) |
Implicit operator to System.Drawing.Color to VO Color
| |
(Long to Color) | ||
(DWord to Color) | ||
(Color to DWord) | ||
(Color to Long) | ||
(Color to Color) |
Implicit operator to convert X# Color to System.Drawing.Color
|
1METHOD Darken(oColor) CLASS MyWindow 2RETURN Color{oColor:Red - 9, oColor:Green - 9, ; 3oColor:Blue - 9}