ActionComponents  04.05.00
Customizable UI and time-saving tools for Android development with Xamarin and Visual Studio.
ActionComponents.ACColor Class Reference

A cross-platform tool for working with colors in the iOS and Android Mobile Operating systems. ACColor represents a union of nearly all of the options and features of both UIColor from iOS and the Color object from Android so the property or method used on one platform can be used on another without change in syntax. Several new features are supported such creating a color from or returning a color as a CSS/Web Hex String in the form #RRGGBB or #AARRGGBB. ACColor is fully compatible with UIColor and Color so it can be used anywhere those objects would be used and can be cast to and from those types implicitly. More...

Public Member Functions

 ACColor ()
 Initializes a new instance of the ACColor class with the color value set to pure white. More...
 
 ACColor (string hexValue)
 Initializes a new instance of the ACColor class. More...
 
 ACColor (byte red, byte green, byte blue)
 Initializes a new instance of the ACColor class. More...
 
 ACColor (int red, int green, int blue)
 Initializes a new instance of the ACColor class. More...
 
 ACColor (byte alpha, byte red, byte green, byte blue)
 Initializes a new instance of the ACColor class. More...
 
 ACColor (int alpha, int red, int green, int blue)
 Initializes a new instance of the ACColor class. More...
 
 ACColor (float red, float green, float blue, float alpha)
 Initializes a new instance of the ACColor class. More...
 
Color ToColor ()
 Converts the ACColor to a default Android color and returns it More...
 
float GetBrightness ()
 Gets the brightness. More...
 
float GetHue ()
 Gets the hue. More...
 
float GetSaturation ()
 Gets the saturation. More...
 
int ToArgb ()
 Tos the ARGB. More...
 
string ToHexString (bool withAlpha)
 Converts this ACColor to a CSS/Web style hex color specification in the form #RRGGBB or ##AARRGGBB More...
 
ACColor ColorWithAlpha (float alpha)
 Creates a new color with the specified alpha channel from a reference color. More...
 
void GetHSBA (ref float hue, ref float saturation, ref float brightness, ref float alpha)
 Returns the hue, saturation, brightness and alpha components of the color. More...
 
void GetRGBA (ref float red, ref float green, ref float blue, ref float alpha)
 Returns the red, green, blue and alpha components of this color. More...
 
void SetFill ()
 Sets the fill color in the current paint for the current canvas specified by the global UIGraphics class. More...
 
void SetStroke ()
 Sets the stroke color in the current paint for the current canvas specified by the global UIGraphics class. More...
 

Static Public Member Functions

static ACColor Argb (int alpha, int red, int green, int blue)
 Return a color from alpha, red, green, blue components. These component values should be [0..255]. More...
 
static int GetAlphaComponent (int color)
 Gets the Alpha component from an integer color. More...
 
static int GetBlueComponent (int color)
 Gets the Blue component from an integer color. More...
 
static int GetGreenComponent (int color)
 Gets the green component from an integer color More...
 
static int GetRedComponent (int color)
 Gets the red component from an integer color More...
 
static ACColor Rgb (int red, int green, int blue)
 Return a color from red, green, blue components. These component values should be [0..255]. More...
 
static ACColor GrayScale (int value)
 Returns a gray color for the value given where 255 equals Pure White and 0 equals Pure Black More...
 
static ACColor FromHexString (string hexValue)
 Converts a CSS/Web Color string specification in the form #RGB, #RRGGBB or #AARRGGBB to a ACColor More...
 
static ACColor FromRGB (byte red, byte green, byte blue)
 Creates a new color from the given red, green and blue values More...
 
static ACColor FromRGB (int red, int green, int blue)
 Creates a new color from the given red, green and blue values More...
 
static ACColor FromRGB (float red, float green, float blue)
 Creates a new color from the given red, green and blue values More...
 
static ACColor FromRGBA (byte red, byte green, byte blue, byte alpha)
 Creates a new color from the given red, green and blue values with the given alpha value More...
 
static ACColor FromRGBA (int red, int green, int blue, int alpha)
 Creates a new color from the given red, green and blue values with the given alpha value More...
 
static ACColor FromRGBA (float red, float green, float blue, float alpha)
 Creates a new color from the given red, green and blue values with the given alpha value More...
 
static ACColor FromHSB (float hue, float saturation, float brightness)
 Creates a color from using the hue, saturation and brightness components. More...
 
static ACColor FromHSBA (float hue, float saturation, float brightness, float alpha)
 Creates a color from using the hue, saturation and brightness components with the given alpha value More...
 
static ACColor FromWhiteAlpha (float grayscale, float alpha)
 Creates a grayscale color, based on the current colorspace. More...
 
static implicit operator Color (ACColor color)
 Converts a ACColor to an Android Color More...
 
static implicit operator ACColor (Color color)
 Converts an Android Color to a ACColor More...
 

Properties

static ACColor ActionOrange [get]
 Gets the orange. More...
 
static ACColor ActionYellowOrange [get]
 Gets the yellow orange. More...
 
static ACColor ActionYellow [get]
 Gets the yellow. More...
 
static ACColor ActionYellowGreen [get]
 Gets the yellow green. More...
 
static ACColor ActionGreenTea [get]
 Gets the green tea. More...
 
static ACColor ActionTeal [get]
 Gets the teal. More...
 
static ACColor ActionCyan [get]
 Gets the cyan. More...
 
static ACColor ActionNavyBlue [get]
 Gets the navy blue. More...
 
static ACColor ActionSkyBlue [get]
 Gets the sky blue. More...
 
static ACColor ActionGrape [get]
 Gets the grape. More...
 
static ACColor ActionLavendar [get]
 Gets the lavendar. More...
 
static ACColor ActionDustyRose [get]
 Gets the dusty rose. More...
 
static ACColor ActionPink [get]
 Gets the pink. More...
 
static ACColor ActionBrickRed [get]
 Gets the brick red. More...
 
static ACColor ActionPinkGrapefruit [get]
 Gets the pink grapefruit. More...
 
static ACColor ActionRedOrange [get]
 Gets the red orange. More...
 
static ACColor ActionBrightOrange [get]
 Gets the Appracatappra ActionPack Component Suite branded Orange color. More...
 
static ACColor Black [get]
 Gets the black color More...
 
static ACColor Blue [get]
 Gets the blue. More...
 
static ACColor Brown [get]
 Gets the brown. More...
 
static ACColor Clear [get]
 Gets the clear. More...
 
static ACColor Cyan [get]
 Gets the cyan. More...
 
static ACColor DarkGray [get]
 Gets the dark gray. More...
 
static ACColor DarkTextColor [get]
 Gets the color of the dark text. More...
 
static ACColor Gray [get]
 Gets the gray. More...
 
static ACColor Green [get]
 Gets the green. More...
 
static ACColor GroupTableViewBackgroundColor [get]
 Gets the color of the group table view background. More...
 
static ACColor LightGray [get]
 Gets the light gray. More...
 
static ACColor LightTextColor [get]
 Gets the color of the light text. More...
 
static ACColor Magenta [get]
 Gets the magenta. More...
 
static ACColor Orange [get]
 Gets the orange. More...
 
static ACColor Purple [get]
 Gets the purple. More...
 
static ACColor Red [get]
 Gets the red. More...
 
static ACColor ScrollViewTexturedBackgroundColor [get]
 Gets the color of the scroll view textured background. More...
 
static ACColor UnderPageBackgroundColor [get]
 Gets the color of the under page background. More...
 
static ACColor ViewFlipsideBackgroundColor [get]
 Gets the color of the view flipside background. More...
 
static ACColor White [get]
 Gets the white. More...
 
static ACColor Yellow [get]
 Gets the yellow. More...
 
static ACColor Ivory [get]
 Gets the ivory. More...
 
static ACColor LightYellow [get]
 Gets the light yellow. More...
 
static ACColor Snow [get]
 Gets the snow. More...
 
static ACColor FloralWhite [get]
 Gets the floral white. More...
 
static ACColor LemonChiffon [get]
 Gets the lemon chiffon. More...
 
static ACColor Cornsilk [get]
 Gets the cornsilk. More...
 
static ACColor Seashell [get]
 Gets the seashell. More...
 
static ACColor LavenderBlush [get]
 Gets the lavender blush. More...
 
static ACColor PapayaWhip [get]
 Gets the papaya whip. More...
 
static ACColor BlanchedAlmond [get]
 Gets the blanched almond. More...
 
static ACColor MistyRose [get]
 Gets the misty rose. More...
 
static ACColor Bisque [get]
 Gets the bisque. More...
 
static ACColor Moccasin [get]
 Gets the moccasin. More...
 
static ACColor NavajoWhite [get]
 Gets the navajo white. More...
 
static ACColor PeachPuff [get]
 Gets the peach puff. More...
 
static ACColor Gold [get]
 Gets the gold. More...
 
static ACColor Pink [get]
 Gets the pink. More...
 
static ACColor LightPink [get]
 Gets the light pink. More...
 
static ACColor LightSalmon [get]
 Gets the light salmon. More...
 
static ACColor DarkOrange [get]
 Gets the dark orange. More...
 
static ACColor Coral [get]
 Gets the coral. More...
 
static ACColor HotPink [get]
 Gets the hot pink. More...
 
static ACColor Tomato [get]
 Gets the tomato. More...
 
static ACColor OrangeRed [get]
 Gets the orange red. More...
 
static ACColor DeepPink [get]
 Gets the deep pink. More...
 
static ACColor Fuchsia [get]
 Gets the fuchsia. More...
 
static ACColor OldLace [get]
 Gets the old lace. More...
 
static ACColor LightGoldenrodYellow [get]
 Gets the light goldenrod yellow. More...
 
static ACColor Linen [get]
 Gets the linen. More...
 
static ACColor AntiqueWhite [get]
 Gets the antique white. More...
 
static ACColor Salmon [get]
 Gets the salmon. More...
 
static ACColor GhostWhite [get]
 Gets the ghost white. More...
 
static ACColor MintCream [get]
 Gets the mint cream. More...
 
static ACColor WhiteSmoke [get]
 Gets the white smoke. More...
 
static ACColor Beige [get]
 Gets the beige. More...
 
static ACColor Wheat [get]
 Gets the wheat. More...
 
static ACColor SandyBrown [get]
 Gets the sandy brown. More...
 
static ACColor Azure [get]
 Gets the azure. More...
 
static ACColor Honeydew [get]
 Gets the honeydew. More...
 
static ACColor AliceBlue [get]
 Gets the alice blue. More...
 
static ACColor Khaki [get]
 Gets the khaki. More...
 
static ACColor LightCoral [get]
 Gets the light coral. More...
 
static ACColor PaleGoldenrod [get]
 Gets the pale goldenrod. More...
 
static ACColor Violet [get]
 Gets the violet. More...
 
static ACColor DarkSalmon [get]
 Gets the dark salmon. More...
 
static ACColor Lavender [get]
 Gets the lavender. More...
 
static ACColor LightCyan [get]
 Gets the light cyan. More...
 
static ACColor BurlyWood [get]
 Gets the burly wood. More...
 
static ACColor Plum [get]
 Gets the plum. More...
 
static ACColor Gainsboro [get]
 Gets the gainsboro. More...
 
static ACColor Crimson [get]
 Gets the crimson. More...
 
static ACColor PaleVioletRed [get]
 Gets the pale violet red. More...
 
static ACColor Goldenrod [get]
 Gets the goldenrod. More...
 
static ACColor Orchid [get]
 Gets the orchid. More...
 
static ACColor Thistle [get]
 Gets the thistle. More...
 
static ACColor LightGrey [get]
 Gets the light grey. More...
 
static ACColor Tan [get]
 Gets the tan. More...
 
static ACColor Chocolate [get]
 Gets the chocolate. More...
 
static ACColor Peru [get]
 Gets the peru. More...
 
static ACColor IndianRed [get]
 Gets the indian red. More...
 
static ACColor MediumVioletRed [get]
 Gets the medium violet red. More...
 
static ACColor Silver [get]
 Gets the silver. More...
 
static ACColor DarkKhaki [get]
 Gets the dark khaki. More...
 
static ACColor RosyBrown [get]
 Gets the rosy brown. More...
 
static ACColor MediumOrchid [get]
 Gets the medium orchid. More...
 
static ACColor DarkGoldenrod [get]
 Gets the dark goldenrod. More...
 
static ACColor FireBrick [get]
 Gets the fire brick. More...
 
static ACColor PowderBlue [get]
 Gets the powder blue. More...
 
static ACColor LightSteelBlue [get]
 Gets the light steel blue. More...
 
static ACColor PaleTurquoise [get]
 Gets the pale turquoise. More...
 
static ACColor GreenYellow [get]
 Gets the green yellow. More...
 
static ACColor LightBlue [get]
 Gets the light blue. More...
 
static ACColor Sienna [get]
 Gets the sienna. More...
 
static ACColor YellowGreen [get]
 Gets the yellow green. More...
 
static ACColor DarkOrchid [get]
 Gets the dark orchid. More...
 
static ACColor PaleGreen [get]
 Gets the pale green. More...
 
static ACColor DarkViolet [get]
 Gets the dark violet. More...
 
static ACColor MediumPurple [get]
 Gets the medium purple. More...
 
static ACColor LightGreen [get]
 Gets the light green. More...
 
static ACColor DarkSeaGreen [get]
 Gets the dark sea green. More...
 
static ACColor SaddleBrown [get]
 Gets the saddle brown. More...
 
static ACColor DarkMagenta [get]
 Gets the dark magenta. More...
 
static ACColor DarkRed [get]
 Gets the dark red. More...
 
static ACColor BlueViolet [get]
 Gets the blue violet. More...
 
static ACColor LightSkyBlue [get]
 Gets the light sky blue. More...
 
static ACColor SkyBlue [get]
 Gets the sky blue. More...
 
static ACColor Olive [get]
 Gets the olive. More...
 
static ACColor Maroon [get]
 Gets the maroon. More...
 
static ACColor Aquamarine [get]
 Gets the aquamarine. More...
 
static ACColor Chartreuse [get]
 Gets the chartreuse. More...
 
static ACColor LawnGreen [get]
 Gets the lawn green. More...
 
static ACColor MediumSlateBlue [get]
 Gets the medium slate blue. More...
 
static ACColor LightSlateGray [get]
 Gets the light slate gray. More...
 
static ACColor SlateGray [get]
 Gets the slate gray. More...
 
static ACColor OliveDrab [get]
 Gets the olive drab. More...
 
static ACColor SlateBlue [get]
 Gets the slate blue. More...
 
static ACColor DimGray [get]
 Gets the dim gray. More...
 
static ACColor MediumAquamarine [get]
 Gets the medium aquamarine. More...
 
static ACColor CornflowerBlue [get]
 Gets the cornflower blue. More...
 
static ACColor CadetBlue [get]
 Gets the cadet blue. More...
 
static ACColor DarkOliveGreen [get]
 Gets the dark olive green. More...
 
static ACColor Indigo [get]
 Gets the indigo. More...
 
static ACColor MediumTurquoise [get]
 Gets the medium turquoise. More...
 
static ACColor DarkSlateBlue [get]
 Gets the dark slate blue. More...
 
static ACColor SteelBlue [get]
 Gets the steel blue. More...
 
static ACColor RoyalBlue [get]
 Gets the royal blue. More...
 
static ACColor Turquoise [get]
 Gets the turquoise. More...
 
static ACColor MediumSeaGreen [get]
 Gets the medium sea green. More...
 
static ACColor LimeGreen [get]
 Gets the lime green. More...
 
static ACColor DarkSlateGray [get]
 Gets the dark slate gray. More...
 
static ACColor SeaGreen [get]
 Gets the sea green. More...
 
static ACColor ForestGreen [get]
 Gets the forest green. More...
 
static ACColor LightSeaGreen [get]
 Gets the light sea green. More...
 
static ACColor DodgerBlue [get]
 Gets the dodger blue. More...
 
static ACColor MidnightBlue [get]
 Gets the midnight blue. More...
 
static ACColor Aqua [get]
 Gets the aqua. More...
 
static ACColor SpringGreen [get]
 Gets the spring green. More...
 
static ACColor Lime [get]
 Gets the lime. More...
 
static ACColor MediumSpringGreen [get]
 Gets the medium spring green. More...
 
static ACColor DarkTurquoise [get]
 Gets the dark turquoise. More...
 
static ACColor DeepSkyBlue [get]
 Gets the deep sky blue. More...
 
static ACColor DarkCyan [get]
 Gets the dark cyan. More...
 
static ACColor Teal [get]
 Gets the teal. More...
 
static ACColor DarkGreen [get]
 Gets the dark green. More...
 
static ACColor MediumBlue [get]
 Gets the medium blue. More...
 
static ACColor DarkBlue [get]
 Gets the dark blue. More...
 
static ACColor Navy [get]
 Gets the navy. More...
 
static ACColor Transparent [get]
 Gets the transparent. More...
 
byte A [get, set]
 Gets or sets alpha value for the color More...
 
byte R [get, set]
 Gets or sets the red value for the color More...
 
byte G [get, set]
 Gets or sets the green value for the color More...
 
byte B [get, set]
 Gets or sets the blue value for the color More...
 

Detailed Description

A cross-platform tool for working with colors in the iOS and Android Mobile Operating systems. ACColor represents a union of nearly all of the options and features of both UIColor from iOS and the Color object from Android so the property or method used on one platform can be used on another without change in syntax. Several new features are supported such creating a color from or returning a color as a CSS/Web Hex String in the form #RRGGBB or #AARRGGBB. ACColor is fully compatible with UIColor and Color so it can be used anywhere those objects would be used and can be cast to and from those types implicitly.

Constructor & Destructor Documentation

ActionComponents.ACColor.ACColor ( )

Initializes a new instance of the ACColor class with the color value set to pure white.

Here is the caller graph for this function:

ActionComponents.ACColor.ACColor ( string  hexValue)

Initializes a new instance of the ACColor class.

Parameters
hexValueHex value.

Here is the call graph for this function:

ActionComponents.ACColor.ACColor ( byte  red,
byte  green,
byte  blue 
)

Initializes a new instance of the ACColor class.

Parameters
redRed.
greenGreen.
blueBlue.

Android Color style constructor

ActionComponents.ACColor.ACColor ( int  red,
int  green,
int  blue 
)

Initializes a new instance of the ACColor class.

Parameters
redRed.
greenGreen.
blueBlue.

Android Color style constructor

ActionComponents.ACColor.ACColor ( byte  alpha,
byte  red,
byte  green,
byte  blue 
)

Initializes a new instance of the ACColor class.

Parameters
alphaAlpha.
redRed.
greenGreen.
blueBlue.

Android Color style constructor

ActionComponents.ACColor.ACColor ( int  alpha,
int  red,
int  green,
int  blue 
)

Initializes a new instance of the ACColor class.

Parameters
alphaAlpha.
redRed.
greenGreen.
blueBlue.

Android Color style constructor

ActionComponents.ACColor.ACColor ( float  red,
float  green,
float  blue,
float  alpha 
)

Initializes a new instance of the ACColor class.

Parameters
redRed.
greenGreen.
blueBlue.
alphaAlpha.

iOS UIColor style constructor

Member Function Documentation

static ACColor ActionComponents.ACColor.Argb ( int  alpha,
int  red,
int  green,
int  blue 
)
static

Return a color from alpha, red, green, blue components. These component values should be [0..255].

Parameters
alphaAlpha.
redRed.
greenGreen.
blueBlue.

Here is the call graph for this function:

Here is the caller graph for this function:

ACColor ActionComponents.ACColor.ColorWithAlpha ( float  alpha)

Creates a new color with the specified alpha channel from a reference color.

Returns
The with alpha.
Parameters
alphaAlpha.
static ACColor ActionComponents.ACColor.FromHexString ( string  hexValue)
static

Converts a CSS/Web Color string specification in the form #RGB, #RRGGBB or #AARRGGBB to a ACColor

Returns
The hex string.
Parameters
hexValueHex value.

Here is the call graph for this function:

Here is the caller graph for this function:

static ACColor ActionComponents.ACColor.FromHSB ( float  hue,
float  saturation,
float  brightness 
)
static

Creates a color from using the hue, saturation and brightness components.

Returns
The new color.
Parameters
hueHue.
saturationSaturation.
brightnessBrightness.

Here is the call graph for this function:

Here is the caller graph for this function:

static ACColor ActionComponents.ACColor.FromHSBA ( float  hue,
float  saturation,
float  brightness,
float  alpha 
)
static

Creates a color from using the hue, saturation and brightness components with the given alpha value

Returns
The new color.
Parameters
hueHue.
saturationSaturation.
brightnessBrightness.
alphaAlpha.

Here is the call graph for this function:

Here is the caller graph for this function:

static ACColor ActionComponents.ACColor.FromRGB ( byte  red,
byte  green,
byte  blue 
)
static

Creates a new color from the given red, green and blue values

Returns
The new color.
Parameters
redRed.
greenGreen.
blueBlue.

Here is the call graph for this function:

Here is the caller graph for this function:

static ACColor ActionComponents.ACColor.FromRGB ( int  red,
int  green,
int  blue 
)
static

Creates a new color from the given red, green and blue values

Returns
The new color.
Parameters
redRed.
greenGreen.
blueBlue.

Here is the call graph for this function:

static ACColor ActionComponents.ACColor.FromRGB ( float  red,
float  green,
float  blue 
)
static

Creates a new color from the given red, green and blue values

Returns
The new color.
Parameters
redRed.
greenGreen.
blueBlue.

Here is the call graph for this function:

static ACColor ActionComponents.ACColor.FromRGBA ( byte  red,
byte  green,
byte  blue,
byte  alpha 
)
static

Creates a new color from the given red, green and blue values with the given alpha value

Returns
The new color.
Parameters
redRed.
greenGreen.
blueBlue.
alphaAlpha.

Here is the call graph for this function:

Here is the caller graph for this function:

static ACColor ActionComponents.ACColor.FromRGBA ( int  red,
int  green,
int  blue,
int  alpha 
)
static

Creates a new color from the given red, green and blue values with the given alpha value

Returns
The new color.
Parameters
redRed.
greenGreen.
blueBlue.
alphaAlpha.

Here is the call graph for this function:

static ACColor ActionComponents.ACColor.FromRGBA ( float  red,
float  green,
float  blue,
float  alpha 
)
static

Creates a new color from the given red, green and blue values with the given alpha value

Returns
The new color.
Parameters
redRed.
greenGreen.
blueBlue.
alphaAlpha.

Here is the call graph for this function:

static ACColor ActionComponents.ACColor.FromWhiteAlpha ( float  grayscale,
float  alpha 
)
static

Creates a grayscale color, based on the current colorspace.

Returns
The new grayscale color.
Parameters
grayscaleGrayscale.
alphaAlpha.

Here is the call graph for this function:

static int ActionComponents.ACColor.GetAlphaComponent ( int  color)
static

Gets the Alpha component from an integer color.

Returns
The alpha component.
Parameters
colorColor.
static int ActionComponents.ACColor.GetBlueComponent ( int  color)
static

Gets the Blue component from an integer color.

Returns
The blue component.
Parameters
colorColor.
float ActionComponents.ACColor.GetBrightness ( )

Gets the brightness.

Returns
The brightness.
static int ActionComponents.ACColor.GetGreenComponent ( int  color)
static

Gets the green component from an integer color

Returns
The green component.
Parameters
colorColor.
void ActionComponents.ACColor.GetHSBA ( ref float  hue,
ref float  saturation,
ref float  brightness,
ref float  alpha 
)

Returns the hue, saturation, brightness and alpha components of the color.

Parameters
hueHue.
saturationSaturation.
brightnessBrightness.
alphaAlpha.

Here is the caller graph for this function:

float ActionComponents.ACColor.GetHue ( )

Gets the hue.

Returns
The hue.
static int ActionComponents.ACColor.GetRedComponent ( int  color)
static

Gets the red component from an integer color

Returns
The red component.
Parameters
colorColor.
void ActionComponents.ACColor.GetRGBA ( ref float  red,
ref float  green,
ref float  blue,
ref float  alpha 
)

Returns the red, green, blue and alpha components of this color.

Parameters
redRed.
greenGreen.
blueBlue.
alphaAlpha.
float ActionComponents.ACColor.GetSaturation ( )

Gets the saturation.

Returns
The saturation.
static ACColor ActionComponents.ACColor.GrayScale ( int  value)
static

Returns a gray color for the value given where 255 equals Pure White and 0 equals Pure Black

Returns
The scale.
Parameters
valueValue.

Here is the call graph for this function:

static implicit ActionComponents.ACColor.operator ACColor ( Color  color)
static

Converts an Android Color to a ACColor

Parameters
colorColor.

Here is the call graph for this function:

static implicit ActionComponents.ACColor.operator Color ( ACColor  color)
static

Converts a ACColor to an Android Color

Parameters
colorColor.

Here is the call graph for this function:

static ACColor ActionComponents.ACColor.Rgb ( int  red,
int  green,
int  blue 
)
static

Return a color from red, green, blue components. These component values should be [0..255].

Parameters
redRed.
greenGreen.
blueBlue.

Here is the call graph for this function:

Here is the caller graph for this function:

void ActionComponents.ACColor.SetFill ( )

Sets the fill color in the current paint for the current canvas specified by the global UIGraphics class.

This methods is used to ease the porting of graphics code from iOS to Android.

Here is the caller graph for this function:

void ActionComponents.ACColor.SetStroke ( )

Sets the stroke color in the current paint for the current canvas specified by the global UIGraphics class.

This methods is used to ease the porting of graphics code from iOS to Android.

Here is the caller graph for this function:

int ActionComponents.ACColor.ToArgb ( )

Tos the ARGB.

Returns
The ARGB.
Color ActionComponents.ACColor.ToColor ( )

Converts the ACColor to a default Android color and returns it

Returns
The color.

Here is the caller graph for this function:

string ActionComponents.ACColor.ToHexString ( bool  withAlpha)

Converts this ACColor to a CSS/Web style hex color specification in the form #RRGGBB or ##AARRGGBB

Returns
The hex string.
Parameters
withAlphaIf set to true with alpha.

Property Documentation

byte ActionComponents.ACColor.A
getset

Gets or sets alpha value for the color

A.

ACColor ActionComponents.ACColor.ActionBrickRed
staticget

Gets the brick red.

The brick red.

ACColor ActionComponents.ACColor.ActionBrightOrange
staticget

Gets the Appracatappra ActionPack Component Suite branded Orange color.

The action pack orange.

ACColor ActionComponents.ACColor.ActionCyan
staticget

Gets the cyan.

The cyan.

ACColor ActionComponents.ACColor.ActionDustyRose
staticget

Gets the dusty rose.

The dusty rose.

ACColor ActionComponents.ACColor.ActionGrape
staticget

Gets the grape.

The grape.

ACColor ActionComponents.ACColor.ActionGreenTea
staticget

Gets the green tea.

The green tea.

ACColor ActionComponents.ACColor.ActionLavendar
staticget

Gets the lavendar.

The lavendar.

ACColor ActionComponents.ACColor.ActionNavyBlue
staticget

Gets the navy blue.

The navy blue.

ACColor ActionComponents.ACColor.ActionOrange
staticget

Gets the orange.

The orange.

ACColor ActionComponents.ACColor.ActionPink
staticget

Gets the pink.

The pink.

ACColor ActionComponents.ACColor.ActionPinkGrapefruit
staticget

Gets the pink grapefruit.

The pink grapefruit.

ACColor ActionComponents.ACColor.ActionRedOrange
staticget

Gets the red orange.

The red orange.

ACColor ActionComponents.ACColor.ActionSkyBlue
staticget

Gets the sky blue.

The sky blue.

ACColor ActionComponents.ACColor.ActionTeal
staticget

Gets the teal.

The teal.

ACColor ActionComponents.ACColor.ActionYellow
staticget

Gets the yellow.

The yellow.

ACColor ActionComponents.ACColor.ActionYellowGreen
staticget

Gets the yellow green.

The yellow green.

ACColor ActionComponents.ACColor.ActionYellowOrange
staticget

Gets the yellow orange.

The yellow orange.

ACColor ActionComponents.ACColor.AliceBlue
staticget

Gets the alice blue.

The alice blue.

ACColor ActionComponents.ACColor.AntiqueWhite
staticget

Gets the antique white.

The antique white.

ACColor ActionComponents.ACColor.Aqua
staticget

Gets the aqua.

The aqua.

ACColor ActionComponents.ACColor.Aquamarine
staticget

Gets the aquamarine.

The aquamarine.

ACColor ActionComponents.ACColor.Azure
staticget

Gets the azure.

The azure.

byte ActionComponents.ACColor.B
getset

Gets or sets the blue value for the color

The b.

ACColor ActionComponents.ACColor.Beige
staticget

Gets the beige.

The beige.

ACColor ActionComponents.ACColor.Bisque
staticget

Gets the bisque.

The bisque.

ACColor ActionComponents.ACColor.Black
staticget

Gets the black color

The black.

ACColor ActionComponents.ACColor.BlanchedAlmond
staticget

Gets the blanched almond.

The blanched almond.

ACColor ActionComponents.ACColor.Blue
staticget

Gets the blue.

The blue.

ACColor ActionComponents.ACColor.BlueViolet
staticget

Gets the blue violet.

The blue violet.

ACColor ActionComponents.ACColor.Brown
staticget

Gets the brown.

The brown.

ACColor ActionComponents.ACColor.BurlyWood
staticget

Gets the burly wood.

The burly wood.

ACColor ActionComponents.ACColor.CadetBlue
staticget

Gets the cadet blue.

The cadet blue.

ACColor ActionComponents.ACColor.Chartreuse
staticget

Gets the chartreuse.

The chartreuse.

ACColor ActionComponents.ACColor.Chocolate
staticget

Gets the chocolate.

The chocolate.

ACColor ActionComponents.ACColor.Clear
staticget

Gets the clear.

The clear.

ACColor ActionComponents.ACColor.Coral
staticget

Gets the coral.

The coral.

ACColor ActionComponents.ACColor.CornflowerBlue
staticget

Gets the cornflower blue.

The cornflower blue.

ACColor ActionComponents.ACColor.Cornsilk
staticget

Gets the cornsilk.

The cornsilk.

ACColor ActionComponents.ACColor.Crimson
staticget

Gets the crimson.

The crimson.

ACColor ActionComponents.ACColor.Cyan
staticget

Gets the cyan.

The cyan.

ACColor ActionComponents.ACColor.DarkBlue
staticget

Gets the dark blue.

The dark blue.

ACColor ActionComponents.ACColor.DarkCyan
staticget

Gets the dark cyan.

The dark cyan.

ACColor ActionComponents.ACColor.DarkGoldenrod
staticget

Gets the dark goldenrod.

The dark goldenrod.

ACColor ActionComponents.ACColor.DarkGray
staticget

Gets the dark gray.

The dark gray.

ACColor ActionComponents.ACColor.DarkGreen
staticget

Gets the dark green.

The dark green.

ACColor ActionComponents.ACColor.DarkKhaki
staticget

Gets the dark khaki.

The dark khaki.

ACColor ActionComponents.ACColor.DarkMagenta
staticget

Gets the dark magenta.

The dark magenta.

ACColor ActionComponents.ACColor.DarkOliveGreen
staticget

Gets the dark olive green.

The dark olive green.

ACColor ActionComponents.ACColor.DarkOrange
staticget

Gets the dark orange.

The dark orange.

ACColor ActionComponents.ACColor.DarkOrchid
staticget

Gets the dark orchid.

The dark orchid.

ACColor ActionComponents.ACColor.DarkRed
staticget

Gets the dark red.

The dark red.

ACColor ActionComponents.ACColor.DarkSalmon
staticget

Gets the dark salmon.

The dark salmon.

ACColor ActionComponents.ACColor.DarkSeaGreen
staticget

Gets the dark sea green.

The dark sea green.

ACColor ActionComponents.ACColor.DarkSlateBlue
staticget

Gets the dark slate blue.

The dark slate blue.

ACColor ActionComponents.ACColor.DarkSlateGray
staticget

Gets the dark slate gray.

The dark slate gray.

ACColor ActionComponents.ACColor.DarkTextColor
staticget

Gets the color of the dark text.

The color of the dark text.

ACColor ActionComponents.ACColor.DarkTurquoise
staticget

Gets the dark turquoise.

The dark turquoise.

ACColor ActionComponents.ACColor.DarkViolet
staticget

Gets the dark violet.

The dark violet.

ACColor ActionComponents.ACColor.DeepPink
staticget

Gets the deep pink.

The deep pink.

ACColor ActionComponents.ACColor.DeepSkyBlue
staticget

Gets the deep sky blue.

The deep sky blue.

ACColor ActionComponents.ACColor.DimGray
staticget

Gets the dim gray.

The dim gray.

ACColor ActionComponents.ACColor.DodgerBlue
staticget

Gets the dodger blue.

The dodger blue.

ACColor ActionComponents.ACColor.FireBrick
staticget

Gets the fire brick.

The fire brick.

ACColor ActionComponents.ACColor.FloralWhite
staticget

Gets the floral white.

The floral white.

ACColor ActionComponents.ACColor.ForestGreen
staticget

Gets the forest green.

The forest green.

ACColor ActionComponents.ACColor.Fuchsia
staticget

Gets the fuchsia.

The fuchsia.

byte ActionComponents.ACColor.G
getset

Gets or sets the green value for the color

The g.

ACColor ActionComponents.ACColor.Gainsboro
staticget

Gets the gainsboro.

The gainsboro.

ACColor ActionComponents.ACColor.GhostWhite
staticget

Gets the ghost white.

The ghost white.

ACColor ActionComponents.ACColor.Gold
staticget

Gets the gold.

The gold.

ACColor ActionComponents.ACColor.Goldenrod
staticget

Gets the goldenrod.

The goldenrod.

ACColor ActionComponents.ACColor.Gray
staticget

Gets the gray.

The gray.

ACColor ActionComponents.ACColor.Green
staticget

Gets the green.

The green.

ACColor ActionComponents.ACColor.GreenYellow
staticget

Gets the green yellow.

The green yellow.

ACColor ActionComponents.ACColor.GroupTableViewBackgroundColor
staticget

Gets the color of the group table view background.

The color of the group table view background.

ACColor ActionComponents.ACColor.Honeydew
staticget

Gets the honeydew.

The honeydew.

ACColor ActionComponents.ACColor.HotPink
staticget

Gets the hot pink.

The hot pink.

ACColor ActionComponents.ACColor.IndianRed
staticget

Gets the indian red.

The indian red.

ACColor ActionComponents.ACColor.Indigo
staticget

Gets the indigo.

The indigo.

ACColor ActionComponents.ACColor.Ivory
staticget

Gets the ivory.

The ivory.

ACColor ActionComponents.ACColor.Khaki
staticget

Gets the khaki.

The khaki.

ACColor ActionComponents.ACColor.Lavender
staticget

Gets the lavender.

The lavender.

ACColor ActionComponents.ACColor.LavenderBlush
staticget

Gets the lavender blush.

The lavender blush.

ACColor ActionComponents.ACColor.LawnGreen
staticget

Gets the lawn green.

The lawn green.

ACColor ActionComponents.ACColor.LemonChiffon
staticget

Gets the lemon chiffon.

The lemon chiffon.

ACColor ActionComponents.ACColor.LightBlue
staticget

Gets the light blue.

The light blue.

ACColor ActionComponents.ACColor.LightCoral
staticget

Gets the light coral.

The light coral.

ACColor ActionComponents.ACColor.LightCyan
staticget

Gets the light cyan.

The light cyan.

ACColor ActionComponents.ACColor.LightGoldenrodYellow
staticget

Gets the light goldenrod yellow.

The light goldenrod yellow.

ACColor ActionComponents.ACColor.LightGray
staticget

Gets the light gray.

The light gray.

ACColor ActionComponents.ACColor.LightGreen
staticget

Gets the light green.

The light green.

ACColor ActionComponents.ACColor.LightGrey
staticget

Gets the light grey.

The light grey.

ACColor ActionComponents.ACColor.LightPink
staticget

Gets the light pink.

The light pink.

ACColor ActionComponents.ACColor.LightSalmon
staticget

Gets the light salmon.

The light salmon.

ACColor ActionComponents.ACColor.LightSeaGreen
staticget

Gets the light sea green.

The light sea green.

ACColor ActionComponents.ACColor.LightSkyBlue
staticget

Gets the light sky blue.

The light sky blue.

ACColor ActionComponents.ACColor.LightSlateGray
staticget

Gets the light slate gray.

The light slate gray.

ACColor ActionComponents.ACColor.LightSteelBlue
staticget

Gets the light steel blue.

The light steel blue.

ACColor ActionComponents.ACColor.LightTextColor
staticget

Gets the color of the light text.

The color of the light text.

ACColor ActionComponents.ACColor.LightYellow
staticget

Gets the light yellow.

The light yellow.

ACColor ActionComponents.ACColor.Lime
staticget

Gets the lime.

The lime.

ACColor ActionComponents.ACColor.LimeGreen
staticget

Gets the lime green.

The lime green.

ACColor ActionComponents.ACColor.Linen
staticget

Gets the linen.

The linen.

ACColor ActionComponents.ACColor.Magenta
staticget

Gets the magenta.

The magenta.

ACColor ActionComponents.ACColor.Maroon
staticget

Gets the maroon.

The maroon.

ACColor ActionComponents.ACColor.MediumAquamarine
staticget

Gets the medium aquamarine.

The medium aquamarine.

ACColor ActionComponents.ACColor.MediumBlue
staticget

Gets the medium blue.

The medium blue.

ACColor ActionComponents.ACColor.MediumOrchid
staticget

Gets the medium orchid.

The medium orchid.

ACColor ActionComponents.ACColor.MediumPurple
staticget

Gets the medium purple.

The medium purple.

ACColor ActionComponents.ACColor.MediumSeaGreen
staticget

Gets the medium sea green.

The medium sea green.

ACColor ActionComponents.ACColor.MediumSlateBlue
staticget

Gets the medium slate blue.

The medium slate blue.

ACColor ActionComponents.ACColor.MediumSpringGreen
staticget

Gets the medium spring green.

The medium spring green.

ACColor ActionComponents.ACColor.MediumTurquoise
staticget

Gets the medium turquoise.

The medium turquoise.

ACColor ActionComponents.ACColor.MediumVioletRed
staticget

Gets the medium violet red.

The medium violet red.

ACColor ActionComponents.ACColor.MidnightBlue
staticget

Gets the midnight blue.

The midnight blue.

ACColor ActionComponents.ACColor.MintCream
staticget

Gets the mint cream.

The mint cream.

ACColor ActionComponents.ACColor.MistyRose
staticget

Gets the misty rose.

The misty rose.

ACColor ActionComponents.ACColor.Moccasin
staticget

Gets the moccasin.

The moccasin.

ACColor ActionComponents.ACColor.NavajoWhite
staticget

Gets the navajo white.

The navajo white.

ACColor ActionComponents.ACColor.Navy
staticget

Gets the navy.

The navy.

ACColor ActionComponents.ACColor.OldLace
staticget

Gets the old lace.

The old lace.

ACColor ActionComponents.ACColor.Olive
staticget

Gets the olive.

The olive.

ACColor ActionComponents.ACColor.OliveDrab
staticget

Gets the olive drab.

The olive drab.

ACColor ActionComponents.ACColor.Orange
staticget

Gets the orange.

The orange.

ACColor ActionComponents.ACColor.OrangeRed
staticget

Gets the orange red.

The orange red.

ACColor ActionComponents.ACColor.Orchid
staticget

Gets the orchid.

The orchid.

ACColor ActionComponents.ACColor.PaleGoldenrod
staticget

Gets the pale goldenrod.

The pale goldenrod.

ACColor ActionComponents.ACColor.PaleGreen
staticget

Gets the pale green.

The pale green.

ACColor ActionComponents.ACColor.PaleTurquoise
staticget

Gets the pale turquoise.

The pale turquoise.

ACColor ActionComponents.ACColor.PaleVioletRed
staticget

Gets the pale violet red.

The pale violet red.

ACColor ActionComponents.ACColor.PapayaWhip
staticget

Gets the papaya whip.

The papaya whip.

ACColor ActionComponents.ACColor.PeachPuff
staticget

Gets the peach puff.

The peach puff.

ACColor ActionComponents.ACColor.Peru
staticget

Gets the peru.

The peru.

ACColor ActionComponents.ACColor.Pink
staticget

Gets the pink.

The pink.

ACColor ActionComponents.ACColor.Plum
staticget

Gets the plum.

The plum.

ACColor ActionComponents.ACColor.PowderBlue
staticget

Gets the powder blue.

The powder blue.

ACColor ActionComponents.ACColor.Purple
staticget

Gets the purple.

The purple.

byte ActionComponents.ACColor.R
getset

Gets or sets the red value for the color

The r.

ACColor ActionComponents.ACColor.Red
staticget

Gets the red.

The red.

ACColor ActionComponents.ACColor.RosyBrown
staticget

Gets the rosy brown.

The rosy brown.

ACColor ActionComponents.ACColor.RoyalBlue
staticget

Gets the royal blue.

The royal blue.

ACColor ActionComponents.ACColor.SaddleBrown
staticget

Gets the saddle brown.

The saddle brown.

ACColor ActionComponents.ACColor.Salmon
staticget

Gets the salmon.

The salmon.

ACColor ActionComponents.ACColor.SandyBrown
staticget

Gets the sandy brown.

The sandy brown.

ACColor ActionComponents.ACColor.ScrollViewTexturedBackgroundColor
staticget

Gets the color of the scroll view textured background.

The color of the scroll view textured background.

ACColor ActionComponents.ACColor.SeaGreen
staticget

Gets the sea green.

The sea green.

ACColor ActionComponents.ACColor.Seashell
staticget

Gets the seashell.

The seashell.

ACColor ActionComponents.ACColor.Sienna
staticget

Gets the sienna.

The sienna.

ACColor ActionComponents.ACColor.Silver
staticget

Gets the silver.

The silver.

ACColor ActionComponents.ACColor.SkyBlue
staticget

Gets the sky blue.

The sky blue.

ACColor ActionComponents.ACColor.SlateBlue
staticget

Gets the slate blue.

The slate blue.

ACColor ActionComponents.ACColor.SlateGray
staticget

Gets the slate gray.

The slate gray.

ACColor ActionComponents.ACColor.Snow
staticget

Gets the snow.

The snow.

ACColor ActionComponents.ACColor.SpringGreen
staticget

Gets the spring green.

The spring green.

ACColor ActionComponents.ACColor.SteelBlue
staticget

Gets the steel blue.

The steel blue.

ACColor ActionComponents.ACColor.Tan
staticget

Gets the tan.

The tan.

ACColor ActionComponents.ACColor.Teal
staticget

Gets the teal.

The teal.

ACColor ActionComponents.ACColor.Thistle
staticget

Gets the thistle.

The thistle.

ACColor ActionComponents.ACColor.Tomato
staticget

Gets the tomato.

The tomato.

ACColor ActionComponents.ACColor.Transparent
staticget

Gets the transparent.

The transparent.

ACColor ActionComponents.ACColor.Turquoise
staticget

Gets the turquoise.

The turquoise.

ACColor ActionComponents.ACColor.UnderPageBackgroundColor
staticget

Gets the color of the under page background.

The color of the under page background.

ACColor ActionComponents.ACColor.ViewFlipsideBackgroundColor
staticget

Gets the color of the view flipside background.

The color of the view flipside background.

ACColor ActionComponents.ACColor.Violet
staticget

Gets the violet.

The violet.

ACColor ActionComponents.ACColor.Wheat
staticget

Gets the wheat.

The wheat.

ACColor ActionComponents.ACColor.White
staticget

Gets the white.

The white.

ACColor ActionComponents.ACColor.WhiteSmoke
staticget

Gets the white smoke.

The white smoke.

ACColor ActionComponents.ACColor.Yellow
staticget

Gets the yellow.

The yellow.

ACColor ActionComponents.ACColor.YellowGreen
staticget

Gets the yellow green.

The yellow green.