Contents

destinationRect

A rectangle that specifies whether to output screenshots in a subset of the output image.

Declaration

var destinationRect: CGRect { get set }

Discussion

If you don’t specify a destination rectangle, the system uses the full dimensions of the output surface. The rectangle is specified in pixels in the display’s coordinate system.