setImageZoomFactor(_:center:)
Sets the zoom factor at the provided origin.
Declaration
func setImageZoomFactor(_ zoomFactor: CGFloat, center centerPoint: NSPoint)Parameters
- zoomFactor:
The zoom factor to apply to the image.
- centerPoint:
The point that specifies the origin of the zoom factor.