Instance Method

setMagnification(_:centeredAt:)

Scales the page content by a specified factor and centers the result on a specified point.

Declaration

func setMagnification(_ magnification: CGFloat, centeredAt point: CGPoint)

Parameters

magnification

The factor by which to scale the content.

point

The point (in view space) to center magnification on.