The methods of UIKit.UIColor are listed below. For a list of all members, see the UIColor Members list.
See Also: Inherited members from Foundation.NSObject
ColorWithAlpha(nfloat)Creates a new color with the specified alpha channel from a reference color. | ||
Copy(Foundation.NSZone)Performs a copy of the underlying Objective-C object. | ||
EncodeTo(Foundation.NSCoder)Encodes the state of the object on the provided encoder | ||
static | FromCGColor(CoreGraphics.CGColor)Creates a UIColor based on the Core Graphics Quartz color reference. | |
static | FromCIColor(CoreImage.CIColor)Creates a UIColor from a CoreImage CIColor. | |
static | FromHSB(nfloat, nfloat, nfloat)Creates a color from using the hue, saturation and brightness components. | |
static | FromHSBA(nfloat, nfloat, nfloat, nfloat)Creates a color from using the hue, saturation, brightness and alpha components. | |
static | FromPatternImage(UIImage)Creates a UIColor based on an image, the color can then be used as a brush to paint with the image. | |
static | FromRGB(byte, byte, byte)Creates a solid color using the red, green and blue components specified. | |
static | FromRGB(int, int, int)Creates a color from the specified combinated of red, green, and blue components. | |
static | FromRGB(nfloat, nfloat, nfloat)Creates a solid color using the red, green and blue components specified. | |
static | FromRGBA(byte, byte, byte, byte)Creates a color with the specified alpha transparency using the red, green and blue components specified. | |
static | FromRGBA(int, int, int, int)Creates a color from the specified combination of red, green, and blue elements, with the specified transparency. | |
static | FromRGBA(nfloat, nfloat, nfloat, nfloat)Creates a color with the specified alpha transparency using the red, green and blue components specified. | |
static | FromWhiteAlpha(nfloat, nfloat)Creates a grayscale color, based on the current colorspace. | |
GetHSBA(out nfloat, out nfloat, out nfloat, out nfloat)Returns the hue, saturation, brightness and alpha components of the color. | ||
GetRGBA(out nfloat, out nfloat, out nfloat, out nfloat)Returns the red, green, blue and alpha components of this color. | ||
GetWhite(out nfloat, out nfloat)The grayscale components of the color. | ||
SetColor()Sets both the fill and stroke color for drawing. | ||
SetFill()Sets the fill color for drawing. | ||
SetStroke()Sets the stroke color for drawing. | ||
override | ToString()Returns a string representation of the value of the current instance. | |