Contents

zoomImage(to:)

Zooms the image so that it fits in the specified rectangle.

Declaration

func zoomImage(to rect: NSRect)

Parameters

  • rect:

    The rectangle to fit the image in.

See Also

Manipulating the Image in a View