<!--
{
  "documentType" : "article",
  "framework" : "CoreGraphics",
  "identifier" : "/documentation/CoreGraphics/core-graphics-enumerations",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Core Graphics Enumerations"
}
-->

# Core Graphics Enumerations

## Topics

### Enumerations

[`struct CGCaptureOptions`](/documentation/CoreGraphics/CGCaptureOptions)

Configuration parameters that are used when capturing displays.

[`enum CGColorConversionInfoTransformType`](/documentation/CoreGraphics/CGColorConversionInfoTransformType)

Constants describing how a color conversion uses color spaces.

[`enum CGColorRenderingIntent`](/documentation/CoreGraphics/CGColorRenderingIntent)

Handling options for colors that are not located within the destination color space of a graphics context.

[`struct CGConfigureOption`](/documentation/CoreGraphics/CGConfigureOption)

The scope of the changes in a display configuration transaction.

[`struct CGDisplayChangeSummaryFlags`](/documentation/CoreGraphics/CGDisplayChangeSummaryFlags)

The configuration parameters that are passed to a display reconfiguration callback function.

[`enum CGDisplayStreamFrameStatus`](/documentation/CoreGraphics/CGDisplayStreamFrameStatus)

Describes a frame update event.

[`enum CGDisplayStreamUpdateRectType`](/documentation/CoreGraphics/CGDisplayStreamUpdateRectType)

Use these constants to determine which rectangles your app is interested in.

[`enum CGError`](/documentation/CoreGraphics/CGError)

A uniform type for result codes returned by functions in Core Graphics.

[`enum CGEventField`](/documentation/CoreGraphics/CGEventField)

Constants used as keys to access specialized fields in low-level events.

[`struct CGEventFilterMask`](/documentation/CoreGraphics/CGEventFilterMask)

Specify masks for classes of low-level events that can be filtered during event suppression states.

[`struct CGEventFlags`](/documentation/CoreGraphics/CGEventFlags)

Constants that indicate the modifier key state at the time an event is created, as well as other event-related states.

[`enum CGEventMouseSubtype`](/documentation/CoreGraphics/CGEventMouseSubtype)

Constants used with the [`CGEventField.mouseEventSubtype`](/documentation/CoreGraphics/CGEventField/mouseEventSubtype) event field.

[`enum CGEventSourceStateID`](/documentation/CoreGraphics/CGEventSourceStateID)

Constants that specify the possible source states of an event source.

[`enum CGEventSuppressionState`](/documentation/CoreGraphics/CGEventSuppressionState)

Specify the event suppression states that can occur after posting an event.

[`enum CGEventTapLocation`](/documentation/CoreGraphics/CGEventTapLocation)

Constants that specify possible tapping points for events.

[`enum CGEventTapOptions`](/documentation/CoreGraphics/CGEventTapOptions)

Constants that specify whether a new event tap is an active filter or a passive listener.

[`enum CGEventTapPlacement`](/documentation/CoreGraphics/CGEventTapPlacement)

Constants that specify where a new event tap is inserted into the list of active event taps.

[`enum CGEventType`](/documentation/CoreGraphics/CGEventType)

Constants that specify the different types of input events.

[`enum CGGesturePhase`](/documentation/CoreGraphics/CGGesturePhase)

[`enum CGGlyphDeprecatedEnum`](/documentation/CoreGraphics/CGGlyphDeprecatedEnum)

[`enum CGImageByteOrderInfo`](/documentation/CoreGraphics/CGImageByteOrderInfo)

[`enum CGMomentumScrollPhase`](/documentation/CoreGraphics/CGMomentumScrollPhase)

[`enum CGMouseButton`](/documentation/CoreGraphics/CGMouseButton)

Constants that specify buttons on a one, two, or three-button mouse.

[`struct CGScreenUpdateOperation`](/documentation/CoreGraphics/CGScreenUpdateOperation)

Types of screen-update operations.

[`enum CGScrollEventUnit`](/documentation/CoreGraphics/CGScrollEventUnit)

Constants that specify the unit of measurement for a scrolling event.

[`enum CGScrollPhase`](/documentation/CoreGraphics/CGScrollPhase)

[`enum CGWindowBackingType`](/documentation/CoreGraphics/CGWindowBackingType)

The data type used to specify the backing option for a given window.

[`struct CGWindowImageOption`](/documentation/CoreGraphics/CGWindowImageOption)

The data type to use to specify the type of image to be generated for a window.

[`enum CGWindowLevelKey`](/documentation/CoreGraphics/CGWindowLevelKey)

Keys that represent the standard window levels in macOS. Quartz includes these keys to support application frameworks like Cocoa. Applications do not need to use them directly.

[`struct CGWindowListOption`](/documentation/CoreGraphics/CGWindowListOption)

The data type used to specify the options for gathering a list of windows.

[`enum CGWindowSharingType`](/documentation/CoreGraphics/CGWindowSharingType)

The data type used to specify the sharing mode used by a window.

[`enum CGImagePixelFormatInfo`](/documentation/CoreGraphics/CGImagePixelFormatInfo)

[`enum CGLineCap`](/documentation/CoreGraphics/CGLineCap)

Styles for rendering the endpoint of a stroked line.

[`enum CGLineJoin`](/documentation/CoreGraphics/CGLineJoin)

Junction types for stroked lines.

[`struct CGPDFAccessPermissions`](/documentation/CoreGraphics/CGPDFAccessPermissions)

[`enum CGPDFTagType`](/documentation/CoreGraphics/CGPDFTagType)

[`enum CGTextEncoding`](/documentation/CoreGraphics/CGTextEncoding)

Text encodings for fonts.

[`enum CGToneMapping`](/documentation/CoreGraphics/CGToneMapping)

[`enum CGPathFillRule`](/documentation/CoreGraphics/CGPathFillRule)

Rules for determining which regions are interior to a path, used by the [`fillPath(using:)`](/documentation/CoreGraphics/CGContext/fillPath(using:)) and [`clip(using:)`](/documentation/CoreGraphics/CGContext/clip(using:)) methods.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)