Instance Property

scale

The display scale of the image renderer context.

Declaration

var scale: CGFloat { get set }

Discussion

The display scale determines the number of pixels per point.

The default value is equal to the scale of the main screen.

See Also

Configuring the Renderer Attributes

var opaque: Bool

A Boolean value indicating whether the underlying Core Graphics context has an alpha channel.

var prefersExtendedRange: Bool

A Boolean value specifying whether the bitmap context should use extended color.

Deprecated