Contents

NSInsetRect(_:_:_:)

Insets a rectangle by a specified amount.

Declaration

func NSInsetRect(_ aRect: NSRect, _ dX: Double, _ dY: Double) -> NSRect

Return Value

A copy of aRect, altered by moving the two sides that are parallel to the y axis inward by dX, and the two sides parallel to the x axis inwards by dY.

See Also

Managing Rectangles