Contents

NSEdgeInsets

A description of the distance between the edges of two rectangles.

Declaration

struct NSEdgeInsets

Overview

Edge insets describe the distance between the edges of one rectangle to a related rectangle that can be described by measuring a constant but edge-specific distance from each edge.

A common use for this structure is to describe the relationship between a view’s frame and its alignment rectangle.

Topics

Creating an edge insets structure

Specifying the edge insets

Comparing edge insets

Getting the zero constant

See Also

Geometry