|
|
|
|
|
|
|
|
Property
|
|
Description
|
|
|
|
|
|
|
|
|
A
|
|
Gets or sets the alpha component. This value should lie between
zero and 255 where zero is fully transparent and 255 is fully
opaque. |
|
|
|
|
|
|
|
|
B
|
|
Gets or sets the blue component in RGB
- a value between 0 and 255. |
|
|
|
|
|
|
|
|
C
|
|
Gets or sets the cyan component in CMYK
- a percentage value between 0 and 100. |
|
|
|
|
|
|
|
|
ColorSpace
|
|
The color space. Setting the color space will result in the
color being reset to opaque black. |
|
|
|
|
|
|
|
|
Components
|
|
The number of components in the color space. |
|
|
|
|
|
|
|
|
G
|
|
Gets or sets the green component in RGB
- a value between 0 and 255. |
|
|
|
|
|
|
|
|
Gy
|
|
Gets or sets the grayscale component in Gray
- a value between 0 and 255 representing the lightness of the
shade. |
|
|
|
|
|
|
|
|
Item[Int32]
|
|
An indexer providing the components of the color in absolute
values between 0 and 1. The order of components is RGB, CMYK or
Gray depending on color space. To access alpha you can pass in an
index of -1. |
|
|
|
|
|
|
|
|
K
|
|
Gets or sets the black component in CMYK
- a percentage value between 0 and 100 representing the amount of
black ink. |
|
|
|
|
|
|
|
|
M
|
|
Gets or sets the magenta component in CMYK
- a percentage value between 0 and 100. |
|
|
|
|
|
|
|
|
R
|
|
Gets or sets the red component in RGB
- a value between 0 and 255. |
|
|
|
|
|
|
|
|
Y
|
|
Gets or sets the yellow component in CMYK
- a percentage value between 0 and 100. |
|
|
|
|
|
|
|