Search Results for

    Show / Hide Table of Contents

    TUIColor 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

    TUIColor = 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

    Name Description
    Implicit Conversion Overloaded
    Implicit conversion from TColor to TUIColor
    Implicit conversion from TAlphaColor to TUIColor
    Implicit conversion from TUIColor to TColor
    Implicit conversion from TUIColor to TAlphaColor
    Implicit conversion from Integer to TUIColor
    Implicit conversion from TUIColor to Integer
    Implicit conversion from Int64 to TUIColor
    Implicit conversion from TUIColor to Int64
    Equality Adapts the = operator so it returns true when both instances have the same values.
    Inequality Adapts the <> operator so it returns true when both instances have different values.

    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 Empty
    IsNamedColor This method returns always false, TUIColor doesn't support named colors.
    In This Article
    Back to top FlexCel Studio for VCL and FireMonkey v7.24
    © 2002 - 2025 tmssoftware.com