Contents

drawingRect(forBounds:)

Returns the rectangle within which the receiver draws itself

Declaration

func drawingRect(forBounds rect: NSRect) -> NSRect

Parameters

  • rect:

    The bounding rectangle of the receiver.

Return Value

The rectangle in which the receiver draws itself. This rectangle is slightly inset from the one in theRect.

See Also

Related Documentation

Determining Cell Size