Contents

imageRect(forBounds:)

Returns the rectangle in which the receiver draws its image.

Declaration

func imageRect(forBounds rect: NSRect) -> NSRect

Parameters

  • rect:

    The bounding rectangle of the receiver.

Return Value

The rectangle in which the receiver draws its image. This rectangle is slightly offset from the one in theRect.

See Also

Determining Cell Size