Class Color

Definition

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

The Color class.

C#
Copy
public class Color : Disposable, ICloneable
Inheritance
Implements
ICloneable

Constructors

View Source

Color()

Default constructor

Declaration
C#
Copy
public Color()
API Level: 3
View Source

Color(System.Drawing.Color)

The conversion constructor from an System.Drawing.Color instance.

Declaration
C#
Copy
public Color(System.Drawing.Color color)
Parameters
Type Name Description
System.Drawing.Color color

System.Drawing.Color instance

View Source

Color(Single, Single, Single, Single)

The constructor.

Declaration
C#
Copy
public Color(float r, float g, float b, float a)
Parameters
Type Name Description
Single r

The red component.

Single g

The green component.

Single b

The blue component.

Single a

The alpha component.

API Level: 3
View Source

Color(Single[])

The conversion constructor from an array of four floats.

Declaration
C#
Copy
public Color(float[] array)
Parameters
Type Name Description
Single[] array

array Array of R,G,B,A.

API Level: 3
View Source

Color(String)

The conversion constructor from text color representation. hexcode representation : #RGB #RGBA #RRGGBB #RRGGBBAA rgb representation : rgb(0-255,0-255,0-255) rgba(0-255,0-255,0-255,0.0-1.0)

Declaration
C#
Copy
public Color(string textColor)
Parameters
Type Name Description
String textColor

color text representation as Hexcode, rgb() or rgba()

API Level: 6
View Source

Color(Color)

The copy constructor.

Declaration
C#
Copy
public Color(Color other)
Parameters
Type Name Description
Color other

The copy target.

Fields

View Source

AliceBlue

Gets the alice_blue colored Color class.

Declaration
C#
Copy
public static readonly Color AliceBlue
Field Value
Type Description
Color
View Source

AntiqueWhite

Gets the antique_white colored Color class.

Declaration
C#
Copy
public static readonly Color AntiqueWhite
Field Value
Type Description
Color
View Source

Aqua

Gets the aqua colored Color class.

Declaration
C#
Copy
public static readonly Color Aqua
Field Value
Type Description
Color
View Source

AquaMarine

Gets the aqua_marine colored Color class.

Declaration
C#
Copy
public static readonly Color AquaMarine
Field Value
Type Description
Color
View Source

Azure

Gets the azure colored Color class.

Declaration
C#
Copy
public static readonly Color Azure
Field Value
Type Description
Color
View Source

Beige

Gets the beige colored Color class.

Declaration
C#
Copy
public static readonly Color Beige
Field Value
Type Description
Color
View Source

Bisque

Gets the bisque colored Color class.

Declaration
C#
Copy
public static readonly Color Bisque
Field Value
Type Description
Color
View Source

Black

Gets the black colored Color class.

Declaration
C#
Copy
public static readonly Color Black
Field Value
Type Description
Color
API Level: 3
View Source

BlancheDalmond

Gets the blanche_dalmond colored Color class.

Declaration
C#
Copy
public static readonly Color BlancheDalmond
Field Value
Type Description
Color
View Source

Blue

Gets the blue colored Color class.

Declaration
C#
Copy
public static readonly Color Blue
Field Value
Type Description
Color
API Level: 3
View Source

BlueViolet

Gets the blue_violet colored Color class.

Declaration
C#
Copy
public static readonly Color BlueViolet
Field Value
Type Description
Color
View Source

Brown

Gets the brown colored Color class.

Declaration
C#
Copy
public static readonly Color Brown
Field Value
Type Description
Color
View Source

BurlyWood

Gets the burly_wood colored Color class.

Declaration
C#
Copy
public static readonly Color BurlyWood
Field Value
Type Description
Color
View Source

CadetBlue

Gets the cadet_blue colored Color class.

Declaration
C#
Copy
public static readonly Color CadetBlue
Field Value
Type Description
Color
View Source

Chartreuse

Gets the chartreuse colored Color class.

Declaration
C#
Copy
public static readonly Color Chartreuse
Field Value
Type Description
Color
View Source

Chocolate

Gets the chocolate colored Color class.

Declaration
C#
Copy
public static readonly Color Chocolate
Field Value
Type Description
Color
View Source

Coral

Gets the coral colored Color class.

Declaration
C#
Copy
public static readonly Color Coral
Field Value
Type Description
Color
View Source

CornflowerBlue

Gets the cornflower_blue colored Color class.

Declaration
C#
Copy
public static readonly Color CornflowerBlue
Field Value
Type Description
Color
View Source

Cornsilk

Gets the cornsilk colored Color class.

Declaration
C#
Copy
public static readonly Color Cornsilk
Field Value
Type Description
Color
View Source

Crimson

Gets the crimson colored Color class.

Declaration
C#
Copy
public static readonly Color Crimson
Field Value
Type Description
Color
View Source

Cyan

Gets the cyan colored Color class.

Declaration
C#
Copy
public static readonly Color Cyan
Field Value
Type Description
Color
API Level: 3
View Source

DarkBlue

Gets the dark_blue colored Color class.

Declaration
C#
Copy
public static readonly Color DarkBlue
Field Value
Type Description
Color
View Source

DarkCyan

Gets the dark_cyan colored Color class.

Declaration
C#
Copy
public static readonly Color DarkCyan
Field Value
Type Description
Color
View Source

DarkGoldenrod

Gets the dark_goldenrod colored Color class.

Declaration
C#
Copy
public static readonly Color DarkGoldenrod
Field Value
Type Description
Color
View Source

DarkGray

Gets the dark_gray colored Color class.

Declaration
C#
Copy
public static readonly Color DarkGray
Field Value
Type Description
Color
View Source

DarkGreen

Gets the dark_green colored Color class.

Declaration
C#
Copy
public static readonly Color DarkGreen
Field Value
Type Description
Color
View Source

DarkGrey

Gets the dark_grey colored Color class.

Declaration
C#
Copy
public static readonly Color DarkGrey
Field Value
Type Description
Color
View Source

DarkKhaki

Gets the dark_khaki colored Color class.

Declaration
C#
Copy
public static readonly Color DarkKhaki
Field Value
Type Description
Color
View Source

DarkMagenta

Gets the dark_magenta colored Color class.

Declaration
C#
Copy
public static readonly Color DarkMagenta
Field Value
Type Description
Color
View Source

DarkOliveGreen

Gets the dark_olive_green colored Color class.

Declaration
C#
Copy
public static readonly Color DarkOliveGreen
Field Value
Type Description
Color
View Source

DarkOrange

Gets the dark_orange colored Color class.

Declaration
C#
Copy
public static readonly Color DarkOrange
Field Value
Type Description
Color
View Source

DarkOrchid

Gets the dark_orchid colored Color class.

Declaration
C#
Copy
public static readonly Color DarkOrchid
Field Value
Type Description
Color
View Source

DarkRed

Gets the dark_red colored Color class.

Declaration
C#
Copy
public static readonly Color DarkRed
Field Value
Type Description
Color
View Source

DarkSalmon

Gets the dark_salmon colored Color class.

Declaration
C#
Copy
public static readonly Color DarkSalmon
Field Value
Type Description
Color
View Source

DarkSeaGreen

Gets the dark_sea_green colored Color class.

Declaration
C#
Copy
public static readonly Color DarkSeaGreen
Field Value
Type Description
Color
View Source

DarkSlateBlue

Gets the dark_slate_blue colored Color class.

Declaration
C#
Copy
public static readonly Color DarkSlateBlue
Field Value
Type Description
Color
View Source

DarkSlateGray

Gets the dark_slate_gray colored Color class.

Declaration
C#
Copy
public static readonly Color DarkSlateGray
Field Value
Type Description
Color
View Source

DarkSlateGrey

Gets the dark_slate_grey colored Color class.

Declaration
C#
Copy
public static readonly Color DarkSlateGrey
Field Value
Type Description
Color
View Source

DarkTurquoise

Gets the dark_turquoise colored Color class.

Declaration
C#
Copy
public static readonly Color DarkTurquoise
Field Value
Type Description
Color
View Source

DarkViolet

Gets the dark_violet colored Color class.

Declaration
C#
Copy
public static readonly Color DarkViolet
Field Value
Type Description
Color
View Source

DeepPink

Gets the deep_pink colored Color class.

Declaration
C#
Copy
public static readonly Color DeepPink
Field Value
Type Description
Color
View Source

DeepSkyBlue

Gets the deep_sky_blue colored Color class.

Declaration
C#
Copy
public static readonly Color DeepSkyBlue
Field Value
Type Description
Color
View Source

DimGray

Gets the dim_gray colored Color class.

Declaration
C#
Copy
public static readonly Color DimGray
Field Value
Type Description
Color
View Source

DimGrey

Gets the dim_grey colored Color class.

Declaration
C#
Copy
public static readonly Color DimGrey
Field Value
Type Description
Color
View Source

DodgerBlue

Gets the dodger_blue colored Color class.

Declaration
C#
Copy
public static readonly Color DodgerBlue
Field Value
Type Description
Color
View Source

FireBrick

Gets the fire_brick colored Color class.

Declaration
C#
Copy
public static readonly Color FireBrick
Field Value
Type Description
Color
View Source

FloralWhite

Gets the floral_white colored Color class.

Declaration
C#
Copy
public static readonly Color FloralWhite
Field Value
Type Description
Color
View Source

ForestGreen

Gets the forest_green colored Color class.

Declaration
C#
Copy
public static readonly Color ForestGreen
Field Value
Type Description
Color
View Source

Fuchsia

Gets the fuchsia colored Color class.

Declaration
C#
Copy
public static readonly Color Fuchsia
Field Value
Type Description
Color
View Source

Gainsboro

Gets the gainsboro colored Color class.

Declaration
C#
Copy
public static readonly Color Gainsboro
Field Value
Type Description
Color
View Source

GhostWhite

Gets the ghost_white colored Color class.

Declaration
C#
Copy
public static readonly Color GhostWhite
Field Value
Type Description
Color
View Source

Gold

Gets the gold colored Color class.

Declaration
C#
Copy
public static readonly Color Gold
Field Value
Type Description
Color
View Source

GoldenRod

Gets the golden_rod colored Color class.

Declaration
C#
Copy
public static readonly Color GoldenRod
Field Value
Type Description
Color
View Source

Gray

Gets the gray colored Color class.

Declaration
C#
Copy
public static readonly Color Gray
Field Value
Type Description
Color
View Source

Green

Gets the green colored Color class.

Declaration
C#
Copy
public static readonly Color Green
Field Value
Type Description
Color
API Level: 3
View Source

GreenYellow

Gets the green_yellow colored Color class.

Declaration
C#
Copy
public static readonly Color GreenYellow
Field Value
Type Description
Color
View Source

Grey

Gets the grey colored Color class.

Declaration
C#
Copy
public static readonly Color Grey
Field Value
Type Description
Color
View Source

Honeydew

Gets the honeydew colored Color class.

Declaration
C#
Copy
public static readonly Color Honeydew
Field Value
Type Description
Color
View Source

HotPink

Gets the hot_pink colored Color class.

Declaration
C#
Copy
public static readonly Color HotPink
Field Value
Type Description
Color
View Source

Indianred

Gets the indianred colored Color class.

Declaration
C#
Copy
public static readonly Color Indianred
Field Value
Type Description
Color
View Source

Indigo

Gets the indigo colored Color class.

Declaration
C#
Copy
public static readonly Color Indigo
Field Value
Type Description
Color
View Source

Ivory

Gets the ivory colored Color class.

Declaration
C#
Copy
public static readonly Color Ivory
Field Value
Type Description
Color
View Source

Khaki

Gets the khaki colored Color class.

Declaration
C#
Copy
public static readonly Color Khaki
Field Value
Type Description
Color
View Source

Lavender

Gets the lavender colored Color class.

Declaration
C#
Copy
public static readonly Color Lavender
Field Value
Type Description
Color
View Source

LavenderBlush

Gets the lavender_blush colored Color class.

Declaration
C#
Copy
public static readonly Color LavenderBlush
Field Value
Type Description
Color
View Source

LawnGreen

Gets the lawn_green colored Color class.

Declaration
C#
Copy
public static readonly Color LawnGreen
Field Value
Type Description
Color
View Source

LemonChiffon

Gets the lemon_chiffon colored Color class.

Declaration
C#
Copy
public static readonly Color LemonChiffon
Field Value
Type Description
Color
View Source

LightBlue

Gets the light_blue colored Color class.

Declaration
C#
Copy
public static readonly Color LightBlue
Field Value
Type Description
Color
View Source

LightCoral

Gets the light_coral colored Color class.

Declaration
C#
Copy
public static readonly Color LightCoral
Field Value
Type Description
Color
View Source

LightCyan

Gets the light_cyan colored Color class.

Declaration
C#
Copy
public static readonly Color LightCyan
Field Value
Type Description
Color
View Source

LightGoldenRodYellow

Gets the light_golden_rod_yellow colored Color class.

Declaration
C#
Copy
public static readonly Color LightGoldenRodYellow
Field Value
Type Description
Color
View Source

LightGray

Gets the light_gray colored Color class.

Declaration
C#
Copy
public static readonly Color LightGray
Field Value
Type Description
Color
View Source

LightGreen

Gets the light_green colored Color class.

Declaration
C#
Copy
public static readonly Color LightGreen
Field Value
Type Description
Color
View Source

LightGrey

Gets the light_grey colored Color class.

Declaration
C#
Copy
public static readonly Color LightGrey
Field Value
Type Description
Color
View Source

LightPink

Gets the light_pink colored Color class.

Declaration
C#
Copy
public static readonly Color LightPink
Field Value
Type Description
Color
View Source

LightSalmon

Gets the light_salmon colored Color class.

Declaration
C#
Copy
public static readonly Color LightSalmon
Field Value
Type Description
Color
View Source

LightSeaGreen

Gets the light_sea_green colored Color class.

Declaration
C#
Copy
public static readonly Color LightSeaGreen
Field Value
Type Description
Color
View Source

LightSkyBlue

Gets the light_sky_blue colored Color class.

Declaration
C#
Copy
public static readonly Color LightSkyBlue
Field Value
Type Description
Color
View Source

LightSlateGray

Gets the light_slate_gray colored Color class.

Declaration
C#
Copy
public static readonly Color LightSlateGray
Field Value
Type Description
Color
View Source

LightSlateGrey

Gets the light_slate_grey colored Color class.

Declaration
C#
Copy
public static readonly Color LightSlateGrey
Field Value
Type Description
Color
View Source

LightSteelBlue

Gets the light_steel_blue colored Color class.

Declaration
C#
Copy
public static readonly Color LightSteelBlue
Field Value
Type Description
Color
View Source

LightYellow

Gets the light_yellow colored Color class.

Declaration
C#
Copy
public static readonly Color LightYellow
Field Value
Type Description
Color
View Source

Lime

Gets the lime colored Color class.

Declaration
C#
Copy
public static readonly Color Lime
Field Value
Type Description
Color
View Source

LimeGreen

Gets the lime_green colored Color class.

Declaration
C#
Copy
public static readonly Color LimeGreen
Field Value
Type Description
Color
View Source

Linen

Gets the linen colored Color class.

Declaration
C#
Copy
public static readonly Color Linen
Field Value
Type Description
Color
View Source

Magenta

Gets the magenta colored Color class.

Declaration
C#
Copy
public static readonly Color Magenta
Field Value
Type Description
Color
API Level: 3
View Source

Maroon

Gets the maroon colored Color class.

Declaration
C#
Copy
public static readonly Color Maroon
Field Value
Type Description
Color
View Source

MediumAquaMarine

Gets the medium_aqua_marine colored Color class.

Declaration
C#
Copy
public static readonly Color MediumAquaMarine
Field Value
Type Description
Color
View Source

MediumBlue

Gets the medium_blue colored Color class.

Declaration
C#
Copy
public static readonly Color MediumBlue
Field Value
Type Description
Color
View Source

MediumOrchid

Gets the medium_orchid colored Color class.

Declaration
C#
Copy
public static readonly Color MediumOrchid
Field Value
Type Description
Color
View Source

MediumPurple

Gets the medium_purple colored Color class.

Declaration
C#
Copy
public static readonly Color MediumPurple
Field Value
Type Description
Color
View Source

MediumSeaGreen

Gets the medium_sea_green colored Color class.

Declaration
C#
Copy
public static readonly Color MediumSeaGreen
Field Value
Type Description
Color
View Source

MediumSlateBlue

Gets the medium_slate_blue colored Color class.

Declaration
C#
Copy
public static readonly Color MediumSlateBlue
Field Value
Type Description
Color
View Source

MediumSpringGreen

Gets the medium_spring_green colored Color class.

Declaration
C#
Copy
public static readonly Color MediumSpringGreen
Field Value
Type Description
Color
View Source

MediumTurquoise

Gets the medium_turquoise colored Color class.

Declaration
C#
Copy
public static readonly Color MediumTurquoise
Field Value
Type Description
Color
View Source

MediumVioletred

Gets the medium_violetred colored Color class.

Declaration
C#
Copy
public static readonly Color MediumVioletred
Field Value
Type Description
Color
View Source

MidnightBlue

Gets the midnight_blue colored Color class.

Declaration
C#
Copy
public static readonly Color MidnightBlue
Field Value
Type Description
Color
View Source

MintCream

Gets the mint_cream colored Color class.

Declaration
C#
Copy
public static readonly Color MintCream
Field Value
Type Description
Color
View Source

MistyRose

Gets the misty_rose colored Color class.

Declaration
C#
Copy
public static readonly Color MistyRose
Field Value
Type Description
Color
View Source

Moccasin

Gets the moccasin colored Color class.

Declaration
C#
Copy
public static readonly Color Moccasin
Field Value
Type Description
Color
View Source

NavajoWhite

Gets the navajo_white colored Color class.

Declaration
C#
Copy
public static readonly Color NavajoWhite
Field Value
Type Description
Color
View Source

Navy

Gets the navy colored Color class.

Declaration
C#
Copy
public static readonly Color Navy
Field Value
Type Description
Color
View Source

OldLace

Gets the old_lace colored Color class.

Declaration
C#
Copy
public static readonly Color OldLace
Field Value
Type Description
Color
View Source

Olive

Gets the olive colored Color class.

Declaration
C#
Copy
public static readonly Color Olive
Field Value
Type Description
Color
View Source

OliveDrab

Gets the olive_drab colored Color class.

Declaration
C#
Copy
public static readonly Color OliveDrab
Field Value
Type Description
Color
View Source

Orange

Gets the orange colored Color class.

Declaration
C#
Copy
public static readonly Color Orange
Field Value
Type Description
Color
View Source

OrangeRed

Gets the orange_red colored Color class.

Declaration
C#
Copy
public static readonly Color OrangeRed
Field Value
Type Description
Color
View Source

Orchid

Gets the orchid colored Color class.

Declaration
C#
Copy
public static readonly Color Orchid
Field Value
Type Description
Color
View Source

PaleGoldenRod

Gets the pale_golden_rod colored Color class.

Declaration
C#
Copy
public static readonly Color PaleGoldenRod
Field Value
Type Description
Color
View Source

PaleGreen

Gets the pale_green colored Color class.

Declaration
C#
Copy
public static readonly Color PaleGreen
Field Value
Type Description
Color
View Source

PaleTurquoise

Gets the Pale_Turquoise colored Color class.

Declaration
C#
Copy
public static readonly Color PaleTurquoise
Field Value
Type Description
Color
View Source

PaleVioletRed

Gets the Pale_Violet_Red colored Color class.

Declaration
C#
Copy
public static readonly Color PaleVioletRed
Field Value
Type Description
Color
View Source

PapayaWhip

Gets the Papaya_whip colored Color class.

Declaration
C#
Copy
public static readonly Color PapayaWhip
Field Value
Type Description
Color
View Source

PeachPuff

Gets the Peach_puff colored Color class.

Declaration
C#
Copy
public static readonly Color PeachPuff
Field Value
Type Description
Color
View Source

Peru

Gets the peru colored Color class.

Declaration
C#
Copy
public static readonly Color Peru
Field Value
Type Description
Color
View Source

Pink

Gets the pink colored Color class.

Declaration
C#
Copy
public static readonly Color Pink
Field Value
Type Description
Color
View Source

Plum

Gets the plum colored Color class.

Declaration
C#
Copy
public static readonly Color Plum
Field Value
Type Description
Color
View Source

PowderBlue

Gets the powder_blue colored Color class.

Declaration
C#
Copy
public static readonly Color PowderBlue
Field Value
Type Description
Color
View Source

Purple

Gets the purple colored Color class.

Declaration
C#
Copy
public static readonly Color Purple
Field Value
Type Description
Color
View Source

Red

Gets the red colored Color class.

Declaration
C#
Copy
public static readonly Color Red
Field Value
Type Description
Color
API Level: 3
View Source

RosyBrown

Gets the rosy_brown colored Color class.

Declaration
C#
Copy
public static readonly Color RosyBrown
Field Value
Type Description
Color
View Source

RoyalBlue

Gets the royal_blue colored Color class.

Declaration
C#
Copy
public static readonly Color RoyalBlue
Field Value
Type Description
Color
View Source

SaddleBrown

Gets the saddle_brown colored Color class.

Declaration
C#
Copy
public static readonly Color SaddleBrown
Field Value
Type Description
Color
View Source

Salmon

Gets the salmon colored Color class.

Declaration
C#
Copy
public static readonly Color Salmon
Field Value
Type Description
Color
View Source

SandyBrown

Gets the sandy_brown colored Color class.

Declaration
C#
Copy
public static readonly Color SandyBrown
Field Value
Type Description
Color
View Source

SeaGreen

Gets the sea_green colored Color class.

Declaration
C#
Copy
public static readonly Color SeaGreen
Field Value
Type Description
Color
View Source

SeaShell

Gets the sea_shell colored Color class.

Declaration
C#
Copy
public static readonly Color SeaShell
Field Value
Type Description
Color
View Source

Sienna

Gets the sienna colored Color class.

Declaration
C#
Copy
public static readonly Color Sienna
Field Value
Type Description
Color
View Source

Silver

Gets the silver colored Color class.

Declaration
C#
Copy
public static readonly Color Silver
Field Value
Type Description
Color
View Source

SkyBlue

Gets the sky_blue colored Color class.

Declaration
C#
Copy
public static readonly Color SkyBlue
Field Value
Type Description
Color
View Source

SlateBlue

Gets the slate_blue colored Color class.

Declaration
C#
Copy
public static readonly Color SlateBlue
Field Value
Type Description
Color
View Source

SlateGray

Gets the slate_gray colored Color class.

Declaration
C#
Copy
public static readonly Color SlateGray
Field Value
Type Description
Color
View Source

SlateGrey

Gets the slate_grey colored Color class.

Declaration
C#
Copy
public static readonly Color SlateGrey
Field Value
Type Description
Color
View Source

Snow

Gets the snow colored Color class.

Declaration
C#
Copy
public static readonly Color Snow
Field Value
Type Description
Color
View Source

SpringGreen

Gets the spring_green colored Color class.

Declaration
C#
Copy
public static readonly Color SpringGreen
Field Value
Type Description
Color
View Source

SteelBlue

Gets the steel_blue colored Color class.

Declaration
C#
Copy
public static readonly Color SteelBlue
Field Value
Type Description
Color
View Source

Tan

Gets the tan colored Color class.

Declaration
C#
Copy
public static readonly Color Tan
Field Value
Type Description
Color
View Source

Teal

Gets the teal colored Color class.

Declaration
C#
Copy
public static readonly Color Teal
Field Value
Type Description
Color
View Source

Thistle

Gets the thistle colored Color class.

Declaration
C#
Copy
public static readonly Color Thistle
Field Value
Type Description
Color
View Source

Tomato

Gets the tomato colored Color class.

Declaration
C#
Copy
public static readonly Color Tomato
Field Value
Type Description
Color
View Source

Transparent

Gets the transparent colored Color class.

Declaration
C#
Copy
public static readonly Color Transparent
Field Value
Type Description
Color
API Level: 3
View Source

Turquoise

Gets the turquoise colored Color class.

Declaration
C#
Copy
public static readonly Color Turquoise
Field Value
Type Description
Color
View Source

Violet

Gets the violet colored Color class.

Declaration
C#
Copy
public static readonly Color Violet
Field Value
Type Description
Color
View Source

Wheat

Gets the wheat colored Color class.

Declaration
C#
Copy
public static readonly Color Wheat
Field Value
Type Description
Color
View Source

White

Gets the white colored Color class.

Declaration
C#
Copy
public static readonly Color White
Field Value
Type Description
Color
API Level: 3
View Source

WhiteSmoke

Gets the white_smoke colored Color class.

Declaration
C#
Copy
public static readonly Color WhiteSmoke
Field Value
Type Description
Color
View Source

Yellow

Gets the yellow colored Color class.

Declaration
C#
Copy
public static readonly Color Yellow
Field Value
Type Description
Color
API Level: 3
View Source

YellowGreen

Gets the yellow_green colored Color class.

Declaration
C#
Copy
public static readonly Color YellowGreen
Field Value
Type Description
Color

Properties

View Source

A

The alpha component.

Declaration
C#
Copy
public float A { get; set; }
Property Value
Type Description
Single
Remarks

The setter is deprecated in API8 and will be removed in API10. Use the new Color(...) constructor.

API Level: 3
View Source

B

The blue component.

Declaration
C#
Copy
public float B { get; set; }
Property Value
Type Description
Single
Remarks

The setter is deprecated in API8 and will be removed in API10. Use the new Color(...) constructor.

API Level: 3
View Source

G

The green component.

Declaration
C#
Copy
public float G { get; set; }
Property Value
Type Description
Single
Remarks

The setter is deprecated in API8 and will be removed in API10. Use the new Color(...) constructor.

API Level: 3
View Source

Item[UInt32]

The array subscript operator overload.

Declaration
C#
Copy
public float this[uint index] { get; }
Parameters
Type Name Description
UInt32 index

The subscript index.

Property Value
Type Description
Single

The float at the given index.

API Level: 3
View Source

R

The red component.

Declaration
C#
Copy
public float R { get; set; }
Property Value
Type Description
Single
Remarks

The setter is deprecated in API8 and will be removed in API10. Use the new Color(...) constructor.

API Level: 3

Methods

View Source

Clone()

Declaration
C#
Copy
public object Clone()
Returns
Type Description
Object
View Source

Equals(Object)

Determines whether the specified object is equal to the current object.

Declaration
C#
Copy
public override bool Equals(Object obj)
Parameters
Type Name Description
Tizen.System.Object obj

The object to compare with the current object.

Returns
Type Description
Boolean

true if the specified object is equal to the current object; otherwise, false.

View Source

EqualTo(Color)

Checks if two color classes are same.

Declaration
C#
Copy
public bool EqualTo(Color rhs)
Parameters
Type Name Description
Color rhs

A color to be compared.

Returns
Type Description
Boolean

If two colors are are same, then true.

API Level: 3
View Source

GetHashCode()

Declaration
C#
Copy
public override int GetHashCode()
Returns
Type Description
Int32
View Source

NotEqualTo(Color)

Checks if two color classes are different.

Declaration
C#
Copy
public bool NotEqualTo(Color rhs)
Parameters
Type Name Description
Color rhs

A color to be compared.

Returns
Type Description
Boolean

If two colors are are different, then true.

API Level: 3
View Source

ReleaseSwigCPtr(Runtime.InteropServices.HandleRef)

Declaration
C#
Copy
protected override void ReleaseSwigCPtr(Runtime.InteropServices.HandleRef swigCPtr)
Parameters
Type Name Description
Tizen.System.Runtime.InteropServices.HandleRef swigCPtr
Overrides

Operators

View Source

Addition(Color, Color)

The addition operator.

Declaration
C#
Copy
public static Color operator +(Color arg1, Color arg2)
Parameters
Type Name Description
Color arg1

The first value.

Color arg2

The second value.

Returns
Type Description
Color

The color containing the result of the addition.

API Level: 3
View Source

Division(Color, Single)

The division operator.

Declaration
C#
Copy
public static Color operator /(Color arg1, float arg2)
Parameters
Type Name Description
Color arg1

The first value.

Single arg2

The second value.

Returns
Type Description
Color

The color containing the result of the division.

API Level: 3
View Source

Division(Color, Color)

The division operator.

Declaration
C#
Copy
public static Color operator /(Color arg1, Color arg2)
Parameters
Type Name Description
Color arg1

The first value.

Color arg2

The second value.

Returns
Type Description
Color

The color containing the result of the division.

API Level: 3
View Source

Equality(Color, Color)

The == operator.

Declaration
C#
Copy
public static bool operator ==(Color arg1, Color arg2)
Parameters
Type Name Description
Color arg1

Color to compare

Color arg2

Color to be compared

Returns
Type Description
Boolean

true if Colors are equal

View Source

Implicit(Color to Vector4)

Converts the Color class to Vector4 class implicitly.

Declaration
C#
Copy
public static implicit operator Vector4(Color color)
Parameters
Type Name Description
Color color

A color to be converted to Vector4

Returns
Type Description
Vector4
API Level: 3
View Source

Implicit(Vector4 to Color)

Converts Vector4 class to Color class implicitly.

Declaration
C#
Copy
public static implicit operator Color(Vector4 vec)
Parameters
Type Name Description
Vector4 vec

A Vector4 to be converted to color.

Returns
Type Description
Color
API Level: 3
View Source

Inequality(Color, Color)

The != operator.

Declaration
C#
Copy
public static bool operator !=(Color arg1, Color arg2)
Parameters
Type Name Description
Color arg1

Color to compare

Color arg2

Color to be compared

Returns
Type Description
Boolean

true if Colors are not equal

View Source

Multiply(Color, Single)

The multiplication operator.

Declaration
C#
Copy
public static Color operator *(Color arg1, float arg2)
Parameters
Type Name Description
Color arg1

The first value.

Single arg2

The second value.

Returns
Type Description
Color

The color containing the result of the multiplication.

API Level: 3
View Source

Multiply(Color, Color)

The multiplication operator.

Declaration
C#
Copy
public static Color operator *(Color arg1, Color arg2)
Parameters
Type Name Description
Color arg1

The first value.

Color arg2

The second value.

Returns
Type Description
Color

The color containing the result of the multiplication.

API Level: 3
View Source

Subtraction(Color, Color)

The subtraction operator.

Declaration
C#
Copy
public static Color operator -(Color arg1, Color arg2)
Parameters
Type Name Description
Color arg1

The first value.

Color arg2

The second value.

Returns
Type Description
Color

The color containing the result of the subtraction.

API Level: 3
View Source

UnaryNegation(Color)

The unary negation operator.

Declaration
C#
Copy
public static Color operator -(Color arg1)
Parameters
Type Name Description
Color arg1

The target value.

Returns
Type Description
Color

The color containg the negation.

API Level: 3

Implements

ICloneable

Extension Methods