CGColorSpace 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.
Colorspace, determines how Quartz interprets color information.
public class CGColorSpace : IDisposable, ObjCRuntime.INativeObject
type CGColorSpace = class
interface INativeObject
interface IDisposable
- Inheritance
-
CGColorSpace
- Implements
Constructors
CGColorSpace(CFPropertyList) | |
CGColorSpace(IntPtr) |
Fields
Null |
Obsolete.
The Null colorspace. |
Properties
Components |
Number of components on this colorspace. |
Handle |
Handle (pointer) to the unmanaged object representation. |
IsWideGamutRgb |
Gets a value that tells whether the color space supports wide gamut colors. |
Model |
The colorspace model. |
Name |
Gets the color space name. |
SupportsOutput |
Gets a Boolean value that tells whether the color space supports output. |
Methods
CreateAcesCGLinear() |
Creates and returns a CGColorSpace that represents an ACEScg color space. |
CreateAdobeRgb1988() |
Creates and returns a CGColorSpace that represents an Adobe RGB (1998) color space. |
CreateCalibratedGray(nfloat[], nfloat[], nfloat) |
Creates a new calibrated gray colorspace. |
CreateCalibratedRGB(nfloat[], nfloat[], nfloat[], nfloat[]) |
Creates a new calibrated RGB colorspace. |
CreateDeviceCmyk() |
Creates and returns a CGColorSpace that represents a device dependent CMYK color space. |
CreateDeviceCMYK() |
Obsolete.
Creates a new CMYK device dependent color space. |
CreateDeviceGray() |
Creates a new gray device dependent color space. |
CreateDeviceRGB() |
Creates and returns a device dependent RGB color space. |
CreateGenericCmyk() |
Creates and returns a CGColorSpace that represents a generic CMYK color space. |
CreateGenericGray() |
Creates and returns a generic Gray color space. |
CreateGenericGrayGamma2_2() |
Creates and returns a generic Gray color space with a gamma value of 2.2. |
CreateGenericRgb() |
Creates and returns a CGColorSpace that represents a generic RGB color space. |
CreateGenericRgbLinear() |
Creates and returns a CGColorSpace that represents a generic linear RGB color space. |
CreateGenericXyz() |
Creates and returns a CGColorSpace that represents an device dependent CMYK color space. |
CreateIccData(CGDataProvider) | |
CreateIccData(NSData) | |
CreateICCProfile(nfloat[], CGDataProvider, CGColorSpace) | |
CreateICCProfile(NSData) |
Developers should not use this deprecated method. Developers should use 'CreateIDCCData' instead. |
CreateIndexed(CGColorSpace, Int32, Byte[]) |
Creates an indexed color space based on the specified colorspace. |
CreateItuR_2020() |
Creates and returns a CGColorSpace that represents an ITU-R BT.2020 color space. |
CreateItuR_709() |
Creates and returns a CGColorSpace that represents an ITU-R BT.709 color space. |
CreateLab(nfloat[], nfloat[], nfloat[]) | |
CreatePattern(CGColorSpace) |
Creates and returns a pattern color space. |
CreateRommRgb() |
Creates and returns a CGColorSpace that represents a ROMM RGB color space. |
CreateSrgb() |
Creates and returns a CGColorSpace that represents an sRGB color space. |
CreateWithName(String) |
Creates a named color space. Valid names are available in CGColorSpaceNames. |
Dispose() |
Releases the resources used by the CGColorSpace object. |
Dispose(Boolean) |
Releases the resources used by the CGColorSpace object. |
Finalize() |
Finalizer for the CGColorSpace object |
GetBaseColorSpace() |
Tthe base colorspace. |
GetColorTable() |
Return the entries of the color table used in an indexed color space |
GetIccData() |
Gets the ICC data for the color space. |
GetICCProfile() |
Gets an ICC color profile representation of the color space. |
ToPropertyList() |