Struct UIColor

    Definition

    Namespace:
    Tizen.NUI
    Assembly:
    Tizen.NUI.dll

    Defines a value type of color.

    public struct UIColor : IEquatable<UIColor>, IToken<UIColor>
    Implements
    IEquatable<><UIColor>
    IToken<UIColor>

    Constructors

    View Source

    UIColor(float, float, float, float)

    Initializes a new instance of the UIColor struct.

    Declaration
    public UIColor(float r, float g, float b, float a)
    Parameters
    Type Name Description
    float r

    The red component.

    float g

    The green component.

    float b

    The blue component.

    float a

    The alpha component.

    View Source

    UIColor(uint, float)

    Initializes a new instance of the UIColor struct.

    Declaration
    public UIColor(uint value, float alpha)
    Parameters
    Type Name Description
    uint value

    The value of 0xRRGGBB format.

    float alpha

    The alpha value between 0.0 and 1.0.

    Examples
        new UIColor(0xFF0000, 1f); // Solid red
        new UIColor(0x00FF00, 0.5f) // Half transparent green

    Fields

    View Source

    AliceBlue

    The AliceBlue color. 0xF0F8FF

    Declaration
    public static readonly UIColor AliceBlue
    Field Value
    Type Description
    UIColor
    View Source

    AntiqueWhite

    The AntiqueWhite color. 0xFAEBD7

    Declaration
    public static readonly UIColor AntiqueWhite
    Field Value
    Type Description
    UIColor
    View Source

    Aqua

    The Aqua color. 0x00FFFF

    Declaration
    public static readonly UIColor Aqua
    Field Value
    Type Description
    UIColor
    View Source

    AquaMarine

    The AquaMarine color. 0x7FFFD4

    Declaration
    public static readonly UIColor AquaMarine
    Field Value
    Type Description
    UIColor
    View Source

    Azure

    The Azure color. 0xF0FFFF

    Declaration
    public static readonly UIColor Azure
    Field Value
    Type Description
    UIColor
    View Source

    Beige

    The Beige color. 0xF5F5DC

    Declaration
    public static readonly UIColor Beige
    Field Value
    Type Description
    UIColor
    View Source

    Bisque

    The Bisque color. 0xFFE4C4

    Declaration
    public static readonly UIColor Bisque
    Field Value
    Type Description
    UIColor
    View Source

    Black

    The Black color. 0x000000

    Declaration
    public static readonly UIColor Black
    Field Value
    Type Description
    UIColor
    View Source

    BlancheDalmond

    The BlancheDalmond color. 0xFFEBCD

    Declaration
    public static readonly UIColor BlancheDalmond
    Field Value
    Type Description
    UIColor
    View Source

    Blue

    The Blue color. 0x0000FF

    Declaration
    public static readonly UIColor Blue
    Field Value
    Type Description
    UIColor
    View Source

    BlueViolet

    The BlueViolet color. 0x8A2BE2

    Declaration
    public static readonly UIColor BlueViolet
    Field Value
    Type Description
    UIColor
    View Source

    Brown

    The Brown color. 0xA52A2A

    Declaration
    public static readonly UIColor Brown
    Field Value
    Type Description
    UIColor
    View Source

    BurlyWood

    The BurlyWood color. 0xDEB887

    Declaration
    public static readonly UIColor BurlyWood
    Field Value
    Type Description
    UIColor
    View Source

    CadetBlue

    The CadetBlue color. 0x5F9EA0

    Declaration
    public static readonly UIColor CadetBlue
    Field Value
    Type Description
    UIColor
    View Source

    Chartreuse

    The Chartreuse color. 0x7FFF00

    Declaration
    public static readonly UIColor Chartreuse
    Field Value
    Type Description
    UIColor
    View Source

    Chocolate

    The Chocolate color. 0xD2691E

    Declaration
    public static readonly UIColor Chocolate
    Field Value
    Type Description
    UIColor
    View Source

    Coral

    The Coral color. 0xFF7F50

    Declaration
    public static readonly UIColor Coral
    Field Value
    Type Description
    UIColor
    View Source

    CornflowerBlue

    The CornflowerBlue color. 0x6495ED

    Declaration
    public static readonly UIColor CornflowerBlue
    Field Value
    Type Description
    UIColor
    View Source

    Cornsilk

    The Cornsilk color. 0xFFF8DC

    Declaration
    public static readonly UIColor Cornsilk
    Field Value
    Type Description
    UIColor
    View Source

    Crimson

    The Crimson color. 0xDC143C

    Declaration
    public static readonly UIColor Crimson
    Field Value
    Type Description
    UIColor
    View Source

    Cyan

    The Cyan color. 0x00FFFF

    Declaration
    public static readonly UIColor Cyan
    Field Value
    Type Description
    UIColor
    View Source

    DarkBlue

    The DarkBlue color. 0x00008B

    Declaration
    public static readonly UIColor DarkBlue
    Field Value
    Type Description
    UIColor
    View Source

    DarkCyan

    The DarkCyan color. 0x008B8B

    Declaration
    public static readonly UIColor DarkCyan
    Field Value
    Type Description
    UIColor
    View Source

    DarkGoldenrod

    The DarkGoldenrod color. 0xB8860B

    Declaration
    public static readonly UIColor DarkGoldenrod
    Field Value
    Type Description
    UIColor
    View Source

    DarkGray

    The DarkGray color. 0xA9A9A9

    Declaration
    public static readonly UIColor DarkGray
    Field Value
    Type Description
    UIColor
    View Source

    DarkGreen

    The DarkGreen color. 0x006400

    Declaration
    public static readonly UIColor DarkGreen
    Field Value
    Type Description
    UIColor
    View Source

    DarkGrey

    The DarkGrey color. 0xA9A9A9

    Declaration
    public static readonly UIColor DarkGrey
    Field Value
    Type Description
    UIColor
    View Source

    DarkKhaki

    The DarkKhaki color. 0xBDB76B

    Declaration
    public static readonly UIColor DarkKhaki
    Field Value
    Type Description
    UIColor
    View Source

    DarkMagenta

    The DarkMagenta color. 0x8B008B

    Declaration
    public static readonly UIColor DarkMagenta
    Field Value
    Type Description
    UIColor
    View Source

    DarkOliveGreen

    The DarkOliveGreen color. 0x556B2F

    Declaration
    public static readonly UIColor DarkOliveGreen
    Field Value
    Type Description
    UIColor
    View Source

    DarkOrange

    The DarkOrange color. 0xFF8C00

    Declaration
    public static readonly UIColor DarkOrange
    Field Value
    Type Description
    UIColor
    View Source

    DarkOrchid

    The DarkOrchid color. 0x9932CC

    Declaration
    public static readonly UIColor DarkOrchid
    Field Value
    Type Description
    UIColor
    View Source

    DarkRed

    The DarkRed color. 0x8B0000

    Declaration
    public static readonly UIColor DarkRed
    Field Value
    Type Description
    UIColor
    View Source

    DarkSalmon

    The DarkSalmon color. 0xE9967A

    Declaration
    public static readonly UIColor DarkSalmon
    Field Value
    Type Description
    UIColor
    View Source

    DarkSeaGreen

    The DarkSeaGreen color. 0x8FBC8F

    Declaration
    public static readonly UIColor DarkSeaGreen
    Field Value
    Type Description
    UIColor
    View Source

    DarkSlateBlue

    The DarkSlateBlue color. 0x483D8B

    Declaration
    public static readonly UIColor DarkSlateBlue
    Field Value
    Type Description
    UIColor
    View Source

    DarkSlateGray

    The DarkSlateGray color. 0x2F4F4F

    Declaration
    public static readonly UIColor DarkSlateGray
    Field Value
    Type Description
    UIColor
    View Source

    DarkSlateGrey

    The DarkSlateGrey color. 0x2F4F4F

    Declaration
    public static readonly UIColor DarkSlateGrey
    Field Value
    Type Description
    UIColor
    View Source

    DarkTurquoise

    The DarkTurquoise color. 0x00CED1

    Declaration
    public static readonly UIColor DarkTurquoise
    Field Value
    Type Description
    UIColor
    View Source

    DarkViolet

    The DarkViolet color. 0x9400D3

    Declaration
    public static readonly UIColor DarkViolet
    Field Value
    Type Description
    UIColor
    View Source

    DeepPink

    The DeepPink color. 0xFF1493

    Declaration
    public static readonly UIColor DeepPink
    Field Value
    Type Description
    UIColor
    View Source

    DeepSkyBlue

    The DeepSkyBlue color. 0x00BFFF

    Declaration
    public static readonly UIColor DeepSkyBlue
    Field Value
    Type Description
    UIColor
    View Source

    Default

    The default color. (This is to distinguish from transparent)

    Declaration
    public static readonly UIColor Default
    Field Value
    Type Description
    UIColor
    View Source

    DimGray

    The DimGray color. 0x696969

    Declaration
    public static readonly UIColor DimGray
    Field Value
    Type Description
    UIColor
    View Source

    DimGrey

    The DimGrey color. 0x696969

    Declaration
    public static readonly UIColor DimGrey
    Field Value
    Type Description
    UIColor
    View Source

    DodgerBlue

    The DodgerBlue color. 0x1E90FF

    Declaration
    public static readonly UIColor DodgerBlue
    Field Value
    Type Description
    UIColor
    View Source

    FireBrick

    The FireBrick color. 0xB22222

    Declaration
    public static readonly UIColor FireBrick
    Field Value
    Type Description
    UIColor
    View Source

    FloralWhite

    The FloralWhite color. 0xFFFAF0

    Declaration
    public static readonly UIColor FloralWhite
    Field Value
    Type Description
    UIColor
    View Source

    ForestGreen

    The ForestGreen color. 0x228B22

    Declaration
    public static readonly UIColor ForestGreen
    Field Value
    Type Description
    UIColor
    View Source

    Fuchsia

    The Fuchsia color. 0xFF00FF

    Declaration
    public static readonly UIColor Fuchsia
    Field Value
    Type Description
    UIColor
    View Source

    Gainsboro

    The Gainsboro color. 0xDCDCDC

    Declaration
    public static readonly UIColor Gainsboro
    Field Value
    Type Description
    UIColor
    View Source

    GhostWhite

    The GhostWhite color. 0xF8F8FF

    Declaration
    public static readonly UIColor GhostWhite
    Field Value
    Type Description
    UIColor
    View Source

    Gold

    The Gold color. 0xFFD700

    Declaration
    public static readonly UIColor Gold
    Field Value
    Type Description
    UIColor
    View Source

    GoldenRod

    The GoldenRod color. 0xDAA520

    Declaration
    public static readonly UIColor GoldenRod
    Field Value
    Type Description
    UIColor
    View Source

    Gray

    The Gray color. 0xBEBEBE

    Declaration
    public static readonly UIColor Gray
    Field Value
    Type Description
    UIColor
    View Source

    Green

    The Green color. 0x00FF00

    Declaration
    public static readonly UIColor Green
    Field Value
    Type Description
    UIColor
    View Source

    GreenYellow

    The GreenYellow color. 0xADFF2F

    Declaration
    public static readonly UIColor GreenYellow
    Field Value
    Type Description
    UIColor
    View Source

    Grey

    The Grey color. 0x808080

    Declaration
    public static readonly UIColor Grey
    Field Value
    Type Description
    UIColor
    View Source

    Honeydew

    The Honeydew color. 0xF0FFF0

    Declaration
    public static readonly UIColor Honeydew
    Field Value
    Type Description
    UIColor
    View Source

    HotPink

    The HotPink color. 0xFF69B4

    Declaration
    public static readonly UIColor HotPink
    Field Value
    Type Description
    UIColor
    View Source

    Indianred

    The Indianred color. 0xCD5C5C

    Declaration
    public static readonly UIColor Indianred
    Field Value
    Type Description
    UIColor
    View Source

    Indigo

    The Indigo color. 0x4B0082

    Declaration
    public static readonly UIColor Indigo
    Field Value
    Type Description
    UIColor
    View Source

    Ivory

    The Ivory color. 0xFFFFF0

    Declaration
    public static readonly UIColor Ivory
    Field Value
    Type Description
    UIColor
    View Source

    Khaki

    The Khaki color. 0xF0E68C

    Declaration
    public static readonly UIColor Khaki
    Field Value
    Type Description
    UIColor
    View Source

    Lavender

    The Lavender color. 0xE6E6FA

    Declaration
    public static readonly UIColor Lavender
    Field Value
    Type Description
    UIColor
    View Source

    LavenderBlush

    The LavenderBlush color. 0xFFF0F5

    Declaration
    public static readonly UIColor LavenderBlush
    Field Value
    Type Description
    UIColor
    View Source

    LawnGreen

    The LawnGreen color. 0x7CFC00

    Declaration
    public static readonly UIColor LawnGreen
    Field Value
    Type Description
    UIColor
    View Source

    LemonChiffon

    The LemonChiffon color. 0xFFFACD

    Declaration
    public static readonly UIColor LemonChiffon
    Field Value
    Type Description
    UIColor
    View Source

    LightBlue

    The LightBlue color. 0xADD8E6

    Declaration
    public static readonly UIColor LightBlue
    Field Value
    Type Description
    UIColor
    View Source

    LightCoral

    The LightCoral color. 0xF08080

    Declaration
    public static readonly UIColor LightCoral
    Field Value
    Type Description
    UIColor
    View Source

    LightCyan

    The LightCyan color. 0xE0FFFF

    Declaration
    public static readonly UIColor LightCyan
    Field Value
    Type Description
    UIColor
    View Source

    LightGoldenRodYellow

    The LightGoldenRodYellow color. 0xFAFAD2

    Declaration
    public static readonly UIColor LightGoldenRodYellow
    Field Value
    Type Description
    UIColor
    View Source

    LightGray

    The LightGray color. 0xD3D3D3

    Declaration
    public static readonly UIColor LightGray
    Field Value
    Type Description
    UIColor
    View Source

    LightGreen

    The LightGreen color. 0x90EE90

    Declaration
    public static readonly UIColor LightGreen
    Field Value
    Type Description
    UIColor
    View Source

    LightGrey

    The LightGrey color. 0xD3D3D3

    Declaration
    public static readonly UIColor LightGrey
    Field Value
    Type Description
    UIColor
    View Source

    LightPink

    The LightPink color. 0xFFB6C1

    Declaration
    public static readonly UIColor LightPink
    Field Value
    Type Description
    UIColor
    View Source

    LightSalmon

    The LightSalmon color. 0xFFA07A

    Declaration
    public static readonly UIColor LightSalmon
    Field Value
    Type Description
    UIColor
    View Source

    LightSeaGreen

    The LightSeaGreen color. 0x20B2AA

    Declaration
    public static readonly UIColor LightSeaGreen
    Field Value
    Type Description
    UIColor
    View Source

    LightSkyBlue

    The LightSkyBlue color. 0x87CEFA

    Declaration
    public static readonly UIColor LightSkyBlue
    Field Value
    Type Description
    UIColor
    View Source

    LightSlateGray

    The LightSlateGray color. 0x778899

    Declaration
    public static readonly UIColor LightSlateGray
    Field Value
    Type Description
    UIColor
    View Source

    LightSlateGrey

    The LightSlateGrey color. 0x778899

    Declaration
    public static readonly UIColor LightSlateGrey
    Field Value
    Type Description
    UIColor
    View Source

    LightSteelBlue

    The LightSteelBlue color. 0xB0C4DE

    Declaration
    public static readonly UIColor LightSteelBlue
    Field Value
    Type Description
    UIColor
    View Source

    LightYellow

    The LightYellow color. 0xFFFFE0

    Declaration
    public static readonly UIColor LightYellow
    Field Value
    Type Description
    UIColor
    View Source

    Lime

    The Lime color. 0x00FF00

    Declaration
    public static readonly UIColor Lime
    Field Value
    Type Description
    UIColor
    View Source

    LimeGreen

    The LimeGreen color. 0x32CD32

    Declaration
    public static readonly UIColor LimeGreen
    Field Value
    Type Description
    UIColor
    View Source

    Linen

    The Linen color. 0xFAF0E6

    Declaration
    public static readonly UIColor Linen
    Field Value
    Type Description
    UIColor
    View Source

    Magenta

    The Magenta color. 0xFF00FF

    Declaration
    public static readonly UIColor Magenta
    Field Value
    Type Description
    UIColor
    View Source

    Maroon

    The Maroon color. 0xB03060

    Declaration
    public static readonly UIColor Maroon
    Field Value
    Type Description
    UIColor
    View Source

    MediumAquaMarine

    The MediumAquaMarine color. 0x66CDAA

    Declaration
    public static readonly UIColor MediumAquaMarine
    Field Value
    Type Description
    UIColor
    View Source

    MediumBlue

    The MediumBlue color. 0x0000CD

    Declaration
    public static readonly UIColor MediumBlue
    Field Value
    Type Description
    UIColor
    View Source

    MediumOrchid

    The MediumOrchid color. 0xBA55D3

    Declaration
    public static readonly UIColor MediumOrchid
    Field Value
    Type Description
    UIColor
    View Source

    MediumPurple

    The MediumPurple color. 0x9370DB

    Declaration
    public static readonly UIColor MediumPurple
    Field Value
    Type Description
    UIColor
    View Source

    MediumSeaGreen

    The MediumSeaGreen color. 0x3CB371

    Declaration
    public static readonly UIColor MediumSeaGreen
    Field Value
    Type Description
    UIColor
    View Source

    MediumSlateBlue

    The MediumSlateBlue color. 0x7B68EE

    Declaration
    public static readonly UIColor MediumSlateBlue
    Field Value
    Type Description
    UIColor
    View Source

    MediumSpringGreen

    The MediumSpringGreen color. 0x00FA9A

    Declaration
    public static readonly UIColor MediumSpringGreen
    Field Value
    Type Description
    UIColor
    View Source

    MediumTurquoise

    The MediumTurquoise color. 0x48D1CC

    Declaration
    public static readonly UIColor MediumTurquoise
    Field Value
    Type Description
    UIColor
    View Source

    MediumVioletred

    The MediumVioletred color. 0xC71585

    Declaration
    public static readonly UIColor MediumVioletred
    Field Value
    Type Description
    UIColor
    View Source

    MidnightBlue

    The MidnightBlue color. 0x191970

    Declaration
    public static readonly UIColor MidnightBlue
    Field Value
    Type Description
    UIColor
    View Source

    MintCream

    The MintCream color. 0xF5FFFA

    Declaration
    public static readonly UIColor MintCream
    Field Value
    Type Description
    UIColor
    View Source

    MistyRose

    The MistyRose color. 0xFFE4E1

    Declaration
    public static readonly UIColor MistyRose
    Field Value
    Type Description
    UIColor
    View Source

    Moccasin

    The Moccasin color. 0xFFE4B5

    Declaration
    public static readonly UIColor Moccasin
    Field Value
    Type Description
    UIColor
    View Source

    NavajoWhite

    The NavajoWhite color. 0xFFDEAD

    Declaration
    public static readonly UIColor NavajoWhite
    Field Value
    Type Description
    UIColor
    View Source

    Navy

    The Navy color. 0x000080

    Declaration
    public static readonly UIColor Navy
    Field Value
    Type Description
    UIColor
    View Source

    OldLace

    The OldLace color. 0xFDF5E6

    Declaration
    public static readonly UIColor OldLace
    Field Value
    Type Description
    UIColor
    View Source

    Olive

    The Olive color. 0x808000

    Declaration
    public static readonly UIColor Olive
    Field Value
    Type Description
    UIColor
    View Source

    OliveDrab

    The OliveDrab color. 0x6B8E23

    Declaration
    public static readonly UIColor OliveDrab
    Field Value
    Type Description
    UIColor
    View Source

    Orange

    The Orange color. 0xFFA500

    Declaration
    public static readonly UIColor Orange
    Field Value
    Type Description
    UIColor
    View Source

    OrangeRed

    The OrangeRed color. 0xFF4500

    Declaration
    public static readonly UIColor OrangeRed
    Field Value
    Type Description
    UIColor
    View Source

    Orchid

    The Orchid color. 0xDA70D6

    Declaration
    public static readonly UIColor Orchid
    Field Value
    Type Description
    UIColor
    View Source

    PaleGoldenRod

    The PaleGoldenRod color. 0xEEE8AA

    Declaration
    public static readonly UIColor PaleGoldenRod
    Field Value
    Type Description
    UIColor
    View Source

    PaleGreen

    The PaleGreen color. 0x98FB98

    Declaration
    public static readonly UIColor PaleGreen
    Field Value
    Type Description
    UIColor
    View Source

    PaleTurquoise

    The PaleTurquoise color. 0xAFEEEE

    Declaration
    public static readonly UIColor PaleTurquoise
    Field Value
    Type Description
    UIColor
    View Source

    PaleVioletRed

    The PaleVioletRed color. 0xDB7093

    Declaration
    public static readonly UIColor PaleVioletRed
    Field Value
    Type Description
    UIColor
    View Source

    PapayaWhip

    The PapayaWhip color. 0xFFEFD5

    Declaration
    public static readonly UIColor PapayaWhip
    Field Value
    Type Description
    UIColor
    View Source

    PeachPuff

    The PeachPuff color. 0xFFDAB9

    Declaration
    public static readonly UIColor PeachPuff
    Field Value
    Type Description
    UIColor
    View Source

    Peru

    The Peru color. 0xCD853F

    Declaration
    public static readonly UIColor Peru
    Field Value
    Type Description
    UIColor
    View Source

    Pink

    The Pink color. 0xFFC0CB

    Declaration
    public static readonly UIColor Pink
    Field Value
    Type Description
    UIColor
    View Source

    Plum

    The Plum color. 0xDDA0DD

    Declaration
    public static readonly UIColor Plum
    Field Value
    Type Description
    UIColor
    View Source

    PowderBlue

    The PowderBlue color. 0xB0E0E6

    Declaration
    public static readonly UIColor PowderBlue
    Field Value
    Type Description
    UIColor
    View Source

    Purple

    The Purple color. 0xA020F0

    Declaration
    public static readonly UIColor Purple
    Field Value
    Type Description
    UIColor
    View Source

    Red

    The Red color. 0xFF0000

    Declaration
    public static readonly UIColor Red
    Field Value
    Type Description
    UIColor
    View Source

    RosyBrown

    The RosyBrown color. 0xBC8F8F

    Declaration
    public static readonly UIColor RosyBrown
    Field Value
    Type Description
    UIColor
    View Source

    RoyalBlue

    The RoyalBlue color. 0x4169E1

    Declaration
    public static readonly UIColor RoyalBlue
    Field Value
    Type Description
    UIColor
    View Source

    SaddleBrown

    The SaddleBrown color. 0x8B4513

    Declaration
    public static readonly UIColor SaddleBrown
    Field Value
    Type Description
    UIColor
    View Source

    Salmon

    The Salmon color. 0xFA8072

    Declaration
    public static readonly UIColor Salmon
    Field Value
    Type Description
    UIColor
    View Source

    SandyBrown

    The SandyBrown color. 0xF4A460

    Declaration
    public static readonly UIColor SandyBrown
    Field Value
    Type Description
    UIColor
    View Source

    SeaGreen

    The SeaGreen color. 0x2E8B57

    Declaration
    public static readonly UIColor SeaGreen
    Field Value
    Type Description
    UIColor
    View Source

    SeaShell

    The SeaShell color. 0xFFF5EE

    Declaration
    public static readonly UIColor SeaShell
    Field Value
    Type Description
    UIColor
    View Source

    Sienna

    The Sienna color. 0xA0522D

    Declaration
    public static readonly UIColor Sienna
    Field Value
    Type Description
    UIColor
    View Source

    Silver

    The Silver color. 0xC0C0C0

    Declaration
    public static readonly UIColor Silver
    Field Value
    Type Description
    UIColor
    View Source

    SkyBlue

    The SkyBlue color. 0x87CEEB

    Declaration
    public static readonly UIColor SkyBlue
    Field Value
    Type Description
    UIColor
    View Source

    SlateBlue

    The SlateBlue color. 0x6A5ACD

    Declaration
    public static readonly UIColor SlateBlue
    Field Value
    Type Description
    UIColor
    View Source

    SlateGray

    The SlateGray color. 0x708090

    Declaration
    public static readonly UIColor SlateGray
    Field Value
    Type Description
    UIColor
    View Source

    SlateGrey

    The SlateGrey color. 0x708090

    Declaration
    public static readonly UIColor SlateGrey
    Field Value
    Type Description
    UIColor
    View Source

    Snow

    The Snow color. 0xFFFAFA

    Declaration
    public static readonly UIColor Snow
    Field Value
    Type Description
    UIColor
    View Source

    SpringGreen

    The SpringGreen color. 0x00FF7F

    Declaration
    public static readonly UIColor SpringGreen
    Field Value
    Type Description
    UIColor
    View Source

    SteelBlue

    The SteelBlue color. 0x4682B4

    Declaration
    public static readonly UIColor SteelBlue
    Field Value
    Type Description
    UIColor
    View Source

    Tan

    The Tan color. 0xD2B48C

    Declaration
    public static readonly UIColor Tan
    Field Value
    Type Description
    UIColor
    View Source

    Teal

    The Teal color. 0x008080

    Declaration
    public static readonly UIColor Teal
    Field Value
    Type Description
    UIColor
    View Source

    Thistle

    The Thistle color. 0xD8BFD8

    Declaration
    public static readonly UIColor Thistle
    Field Value
    Type Description
    UIColor
    View Source

    Tomato

    The Tomato color. 0xFF6347

    Declaration
    public static readonly UIColor Tomato
    Field Value
    Type Description
    UIColor
    View Source

    Transparent

    The Transparent color. 0x000000 with alpha = 0.0f

    Declaration
    public static readonly UIColor Transparent
    Field Value
    Type Description
    UIColor
    View Source

    Turquoise

    The Turquoise color. 0x40E0D0

    Declaration
    public static readonly UIColor Turquoise
    Field Value
    Type Description
    UIColor
    View Source

    Violet

    The Violet color. 0xEE82EE

    Declaration
    public static readonly UIColor Violet
    Field Value
    Type Description
    UIColor
    View Source

    Wheat

    The Wheat color. 0xF5DEB3

    Declaration
    public static readonly UIColor Wheat
    Field Value
    Type Description
    UIColor
    View Source

    White

    The White color. 0xFFFFFF

    Declaration
    public static readonly UIColor White
    Field Value
    Type Description
    UIColor
    View Source

    WhiteSmoke

    The WhiteSmoke color. 0xF5F5F5

    Declaration
    public static readonly UIColor WhiteSmoke
    Field Value
    Type Description
    UIColor
    View Source

    Yellow

    The Yellow color. 0xFFFF00

    Declaration
    public static readonly UIColor Yellow
    Field Value
    Type Description
    UIColor
    View Source

    YellowGreen

    The YellowGreen color. 0x9ACD32

    Declaration
    public static readonly UIColor YellowGreen
    Field Value
    Type Description
    UIColor

    Properties

    View Source

    A

    Gets the alpha component of the color.

    Declaration
    public readonly float A { get; }
    Property Value
    Type Description
    float
    View Source

    B

    Gets the blue component of the color.

    Declaration
    public readonly float B { get; }
    Property Value
    Type Description
    float
    View Source

    G

    Gets the green component of the color.

    Declaration
    public readonly float G { get; }
    Property Value
    Type Description
    float
    View Source

    Id

    Gets the unique identifier of the token.

    Declaration
    public readonly string Id { get; }
    Property Value
    Type Description
    string
    View Source

    IsDefault

    Gets a value indicating whether this is default.

    Declaration
    public readonly bool IsDefault { get; }
    Property Value
    Type Description
    bool
    View Source

    IsToken

    Whether this is token.

    Declaration
    public readonly bool IsToken { get; }
    Property Value
    Type Description
    bool
    View Source

    IsZero

    Gets a value indicating whether this is zero.

    Declaration
    public readonly bool IsZero { get; }
    Property Value
    Type Description
    bool
    View Source

    R

    Gets the red component of the color.

    Declaration
    public readonly float R { get; }
    Property Value
    Type Description
    float

    Methods

    View Source

    Equals(object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    View Source

    Equals(UIColor)

    Whether this is equivalent to other.

    Declaration
    public bool Equals(UIColor other)
    Parameters
    Type Name Description
    UIColor other
    Returns
    Type Description
    bool
    View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    View Source

    MultiplyAlpha(float)

    Multiplies the alpha component of the color by the specified value.

    Declaration
    public readonly UIColor MultiplyAlpha(float alpha)
    Parameters
    Type Name Description
    float alpha

    The value to multiply the alpha component by.

    Returns
    Type Description
    UIColor

    The new color.

    View Source

    Token(string)

    Creates a new color from the token table.

    Declaration
    public static UIColor Token(string id)
    Parameters
    Type Name Description
    string id

    The unique identifier of the token.

    Returns
    Type Description
    UIColor
    View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    View Source

    WithAlpha(float)

    Returns a new color object with the specified alpha value.

    Declaration
    public readonly UIColor WithAlpha(float alpha)
    Parameters
    Type Name Description
    float alpha

    The new alpha value.

    Returns
    Type Description
    UIColor

    A new color object with the specified alpha value.

    Operators

    View Source

    operator ==(UIColor, UIColor)

    Compares two UIColor for equality.

    Declaration
    public static bool operator ==(UIColor operand1, UIColor operand2)
    Parameters
    Type Name Description
    UIColor operand1

    The first operand object.

    UIColor operand2

    The second operand object.

    Returns
    Type Description
    bool

    True if both are equal, otherwise false.

    View Source

    implicit operator Color(UIColor)

    Provides an implicit conversion between UIColor and Color.

    Declaration
    public static implicit operator Color(UIColor uiColor)
    Parameters
    Type Name Description
    UIColor uiColor

    The UIColor to convert.

    Returns
    Type Description
    Color

    The converted Color.

    View Source

    operator !=(UIColor, UIColor)

    Compares two UIColor for inequality.

    Declaration
    public static bool operator !=(UIColor operand1, UIColor operand2)
    Parameters
    Type Name Description
    UIColor operand1

    The first operand object.

    UIColor operand2

    The second operand object.

    Returns
    Type Description
    bool

    True if both are not equal, otherwise false.

    Explicit Interface Implementations

    View Source

    IToken<UIColor>.Value

    The value of the token.

    Declaration
    readonly UIColor IToken<UIColor>.Value { get; }
    Returns
    Type Description
    UIColor

    Implements

    IEquatable<>
    IToken<T>

    Extension Methods

    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX