Structure

CGWindowImageOption

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

Declaration

struct CGWindowImageOption

Overview

This type is used in conjunction with the constants described in Window Image Types.

Topics

Type Properties

static var bestResolution: CGWindowImageOption

When capturing the window, return the best image resolution. The returned image size may be different than the screen size.

static var nominalResolution: CGWindowImageOption

When capturing the window, return the nominal image resolution. The returned image size is the same as the screen size.

Relationships

Conforms To