Table of Contents

ARGB Record

Represents a color used to draw in a canvas (gdi+, wpf, etc) in a way that is independent of the drawing framework.

Syntax

Unit: FlexCel.Core

ARGB = record;

Methods

Name Description
Create Creates a new color with the ARGB components.
FromArgb Overloaded
FromArgb(Integer)
FromArgb(Integer, TUIColor)
FromArgb(Integer, Integer, Integer)
FromArgb(Integer, Integer, Integer, Integer)
ToArgb Gets the 32 bit ARGB color from this structure.
Equals Returns an empty color. This color isn't valid.
Empty Returns an empty color. This color isn't valid.

Operators

Properties

Name Description
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 TUIColor.Empty
IsNamedColor This method returns always false, TUIColor doesn't support named colors.