iOS Guides | Samples

CoreGraphics.CGColorSpace Class

Colorspace, determines how Quartz interprets color information.

See Also: CGColorSpace

Syntax

public class CGColorSpace : INativeObject, IDisposable

Related content

Requirements

Namespace: CoreGraphics
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0

The members of CoreGraphics.CGColorSpace are listed below.

See Also: Object

Public Constructors

Public Fields

static readonly
NullCGColorSpace. The Null colorspace.

Public Properties

[read-only]
Componentsnint. Number of components on this colorspace.
[read-only]
HandleIntPtr. Handle (pointer) to the unmanaged object representation.
[read-only]
IsWideGamutRgbBoolean. Gets a value that tells whether the color space supports wide gamut colors.
[read-only]
ModelCGColorSpaceModel. The colorspace model.
[read-only]
NameString. Gets the color space name.
[read-only]
SupportsOutputBoolean. Gets a Boolean value that tells whether the color space supports output.

Public Methods

static
CreateAcesCGLinear() : CGColorSpace
Creates and returns a CGColorSpace that represents an ACEScg color space.
static
CreateAdobeRgb1988() : CGColorSpace
Creates and returns a CGColorSpace that represents an Adobe RGB (1998) color space.
static
CreateCalibratedGray(nfloat[], nfloat[], nfloat) : CGColorSpace
Creates a new calibrated gray colorspace.
static
CreateCalibratedRGB(nfloat[], nfloat[], nfloat[], nfloat[]) : CGColorSpace
Creates a new calibrated RGB colorspace.
static
CreateDeviceCmyk() : CGColorSpace
Creates and returns a CGColorSpace that represents a device dependent CMYK color space.
static
CreateDeviceCMYK() : CGColorSpace
Creates a new CMYK device dependent color space.
static
CreateDeviceGray() : CGColorSpace
Creates a new gray device dependent color space.
static
CreateDeviceRGB() : CGColorSpace
Creates and returns a device dependent RGB color space.
static
CreateGenericCmyk() : CGColorSpace
Creates and returns a CGColorSpace that represents a generic CMYK color space.
static
CreateGenericGray() : CGColorSpace
Creates and returns a generic Gray color space.
static
CreateGenericGrayGamma2_2() : CGColorSpace
Creates and returns a generic Gray color space with a gamma value of 2.2.
static
CreateGenericRgb() : CGColorSpace
Creates and returns a CGColorSpace that represents a generic RGB color space.
static
CreateGenericRgbLinear() : CGColorSpace
Creates and returns a CGColorSpace that represents a generic linear RGB color space.
static
CreateGenericXyz() : CGColorSpace
Creates and returns a CGColorSpace that represents an device dependent CMYK color space.
static
CreateIccData(CGDataProvider) : CGColorSpace
static
CreateIccData(NSData) : CGColorSpace
static
CreateICCProfile(NSData) : CGColorSpace
Developers should not use this deprecated method. Developers should use 'CreateIDCCData' instead.
static
CreateICCProfile(nfloat[], CGDataProvider, CGColorSpace) : CGColorSpace
static
CreateIndexed(CGColorSpace, Int32, Byte[]) : CGColorSpace
Creates an indexed color space based on the specified colorspace.
static
CreateItuR_2020() : CGColorSpace
Creates and returns a CGColorSpace that represents an ITU-R BT.2020 color space.
static
CreateItuR_709() : CGColorSpace
Creates and returns a CGColorSpace that represents an ITU-R BT.709 color space.
static
CreateLab(nfloat[], nfloat[], nfloat[]) : CGColorSpace
static
CreatePattern(CGColorSpace) : CGColorSpace
Creates and returns a pattern color space.
static
CreateRommRgb() : CGColorSpace
Creates and returns a CGColorSpace that represents a ROMM RGB color space.
static
CreateSrgb() : CGColorSpace
Creates and returns a CGColorSpace that represents an sRGB color space.
static
CreateWithName(String) : CGColorSpace
Creates a named color space. Valid names are available in CGColorSpaceNames.
Dispose()
Releases the resources used by the CGColorSpace object.
Finalize()
Finalizer for the CGColorSpace object
GetBaseColorSpace() : CGColorSpace
Tthe base colorspace.
GetColorTable() : Byte[]
Return the entries of the color table used in an indexed color space
GetIccData() : NSData
Gets the ICC data for the color space.
GetICCProfile() : NSData
Gets an ICC color profile representation of the color space.
ToPropertyList() : CFPropertyList

Protected Methods

Dispose(Boolean)
Releases the resources used by the CGColorSpace object.