TUIColor Structure
Represents a color used to draw in a canvas (gdi+, wpf, etc) in a way that is independent of the drawing framework.
Syntax
Namespace: FlexCel.Core
public struct TUIColor
Constructors
| Name | Description |
|---|---|
| TUIColor | Creates a new color with the ARGB components. |
Methods
| Name | Description |
|---|---|
| FromArgb | Overloaded FromArgb(Int32, TUIColor) FromArgb(Int32, Int32, Int32) FromArgb(Int32, Int32, Int32, Int32) |
| ToArgb | Gets the 32 bit ARGB color from this structure. |
Properties
| Name | Description |
|---|---|
| Empty | Returns an empty color. This color isn't valid. |
| A | Alpha component, between 0 and 255. |
| R | Red component, between 0 and 255. |
| G | Green component, between 0 and 255 |
| B | Blue component, between 0 and 255 |
| IsEmpty | Returns true if this color is the same as Empty |
| IsNamedColor | This method returns always false, TUIColor doesn't support named colors. |