Core Graphics Constants

No overview available.

Topics

Constants

class let conversionBlackPointCompensation: CFString

An option for whether to apply black point compensation when converting between color profiles.

var kCGDisplayBitsPerPixel: String

Specifies a CFNumber integer value that represents the number of bits in a pixel.

var kCGDisplayBitsPerSample: String

Specifies a CFNumber integer value that represents the number of bits in an individual sample (for example, a color value in an RGB pixel).

var kCGDisplayBlendNormal: Double

The blend color is not applied at the start or end of a fade operation.

var kCGDisplayBlendSolidColor: Double

The user sees only the blend color at the start or end of a fade operation.

var kCGDisplayBytesPerRow: String

Specifies a CFNumber integer value that represents the number of bytes in a row on the display.

var kCGDisplayHeight: String

Specifies a CFNumber integer value that represents the height of the display in pixels.

var kCGDisplayIOFlags: String

Specifies a CFNumber integer value that contains the I/O Kit display mode flags. For more information, see the header file IOKit/IOGraphicsTypes.h.

var kCGDisplayMode: String

Specifies a CFNumber integer value that represents the I/O Kit display mode number.

var kCGDisplayModeIsInterlaced: String

Specifies a CFBoolean value indicating that the I/O Kit interlace mode flag is set.

var kCGDisplayModeIsSafeForHardware: String

Specifies a CFBoolean value indicating that the display mode doesn’t need a confirmation dialog to be set.

var kCGDisplayModeIsStretched: String

Specifies a CFBoolean value indicating that the I/O Kit stretched mode flag is set.

var kCGDisplayModeIsTelevisionOutput: String

Specifies a CFBoolean value indicating that the I/O Kit television output mode flag is set.

var kCGDisplayModeUsableForDesktopGUI: String

Specifies a CFBoolean value that indicates whether the display is suitable for use with the macOS graphical user interface. The criteria include factors such as sufficient width and height and adequate pixel depth.

var kCGDisplayRefreshRate: String

Specifies a CFNumber double-precision floating point value that represents the refresh rate of a CRT display. Some displays may not use conventional video vertical and horizontal sweep in painting the screen; these displays report a refresh rate of 0.

var kCGDisplaySamplesPerPixel: String

Specifies a CFNumber integer value that represents the number of samples in a pixel.

var kCGDisplayWidth: String

Specifies a CFNumber integer value that represents the width of the display in pixels.

let kCGFontIndexInvalid: CGFontIndex

A value representing an invalid CGFontIndex.

let kCGFontIndexMax: CGFontIndex

The maximum allowed value of a CGFontIndex.

let kCGGlyphMax: CGFontIndex

The maximum allowed value of a CGGlyph.

var kCGSessionConsoleSetKey: String

A CFNumber 32-bit unsigned integer value that represents a set of hardware composing a console.

var kCGSessionLoginDoneKey: String

A CFBoolean value indicating whether the login operation has been done.

var kCGSessionOnConsoleKey: String

A CFBoolean value indicating whether the session is on a console.

var kCGSessionUserIDKey: String

A CFNumber 32-bit unsigned integer value that encodes a user ID for the session’s current user.

var kCGSessionUserNameKey: String

A CFString value that encodes the session’s short user name as set by the login operation.

var kCGNullDirectDisplay: CGDirectDisplayID

A value that will never correspond to actual hardware.