Declaration

func zoom(
    to rect: NSRect,
    padding withPadding: Bool
)

Declaration

- (void) zoomToRect:(NSRect) rect
            padding:(BOOL) withPadding;

Declaration

zoomToRect_padding_(
    rect: NSRect,
    withPadding: bool
)

Parameters

rect

The target rect in view coordinates.

withPadding

Whether to surround the rect with the standard padding.