CIColor Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A Core Image color, including both color values and a reference to a color space.
[Foundation.Register("CIColor", true)]
public class CIColor : Foundation.NSObject, Foundation.INSCopying, Foundation.INSSecureCoding, IDisposable
[<Foundation.Register("CIColor", true)>]
type CIColor = class
inherit NSObject
interface INSCoding
interface INativeObject
interface IDisposable
interface INSCopying
interface INSSecureCoding
- Inheritance
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| CIColor(CGColor) |
Creates a new CIColor with the specified color. |
| CIColor(NativeHandle) |
A constructor used when creating managed representations of unmanaged objects. Called by the runtime. |
| CIColor(NFloat, NFloat, NFloat, CGColorSpace) | |
| CIColor(NFloat, NFloat, NFloat, NFloat, CGColorSpace) | |
| CIColor(NFloat, NFloat, NFloat, NFloat) |
Creates a new CIColor from the specified color components. |
| CIColor(NFloat, NFloat, NFloat) |
Creates a new CIColor from the specified color components. |
| CIColor(NSCoder) |
A constructor that initializes the object from the data stored in the unarchiver object. |
| CIColor(NSColor) |
Creates a new CIColor with the specified color. |
| CIColor(NSObjectFlag) |
Constructor to call on derived classes to skip initialization and merely allocate the object. |
| CIColor(UIColor) |
Creates a new CIColor with the specified color. |
Properties
| Name | Description |
|---|---|
| AccessibilityAttributedUserInputLabels | (Inherited from NSObject) |
| AccessibilityRespondsToUserInteraction | (Inherited from NSObject) |
| AccessibilityTextualContext | (Inherited from NSObject) |
| AccessibilityUserInputLabels | (Inherited from NSObject) |
| Alpha |
Gets the alpha channel value. |
| BlackColor |
A CIColor with RGBA values of [0.0, 0.0, 0.0, 1.0]. |
| Blue |
Gets the blue channel value. |
| BlueColor |
A CIColor whose RGBA values are [0, 0, 1, 1]. |
| Class | (Inherited from NSObject) |
| ClassHandle |
The Objective-C class handle for this class. |
| ClearColor |
A CIColor whose values are [0, 0, 0, 0]. |
| ColorSpace |
Gets the color space for the color. |
| Components |
Gets the color components, including the alpha channel if it is present, as an array of floating point numbers that are each in the range [0,1]. |
| CyanColor |
A CIColor whose RGBA values are [0, 1, 1, 1]. |
| DebugDescription | (Inherited from NSObject) |
| Description | (Inherited from NSObject) |
| ExposedBindings | (Inherited from NSObject) |
| GrayColor |
A CIColor whose RGBA values are (0.5, 0.5, 0.5, 1.0). |
| Green |
Gets the green channel value. |
| GreenColor |
A CIColor whose RGBA values are [0, 1, 0, 1]. |
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from NSObject) |
| IsDirectBinding |
Gets or sets a value indicating whether this instance uses direct Objective-C binding. (Inherited from NSObject) |
| IsProxy | (Inherited from NSObject) |
| MagentaColor |
A CIColor whose RGBA values are [1, 0, 1, 1]. |
| NumberOfComponents |
Gets the number of components. This is also the number of components that are returned in the Components property. |
| Red |
Gets the red channel value. |
| RedColor |
A CIColor object whose RGBA values are [1, 0, 0, 1]. |
| RetainCount | (Inherited from NSObject) |
| Self | (Inherited from NSObject) |
| Superclass | (Inherited from NSObject) |
| SuperHandle |
Handle used to represent the methods in the base class for this NSObject. (Inherited from NSObject) |
| WhiteColor |
A CIColor object whose RGBA values are [1, 1, 1, 1]. |
| YellowColor |
A CIColor objects whose RGBA values are [1, 1, 0, 1]. |
| Zone | (Inherited from NSObject) |