Contents

imageContainerFrame()

Returns the receiver’s image container frame rectangle, which defines the position of the container of the thumbnail.

Declaration

func imageContainerFrame() -> NSRect

Return Value

The coordinates of image container frame, in the IKImageBrowserView coordinate space.

Discussion

The image frame is computed automatically from the image container frame by taking in account the image alignment and the image aspect ratio.

Subclasses can override this method to customize the position of the thumbnail container.

See Also

Cell Component Frames