Instance Property

size

The logical dimensions of the image, measured in points.

Declaration

var size: CGSize { get }

Discussion

This value reflects the logical size of the image and takes the image’s current orientation into account. Multiply the size values by the value in the scale property to get the pixel dimensions of the image.

See Also

Getting the Image Size and Scale

var scale: CGFloat

The scale factor of the image.