Instance Property

containerSize

The size of the receiver’s bounding rectangle.

Declaration

var containerSize: NSSize { get set }

See Also

Deprecated

init(containerSize: NSSize)

Initializes a text container with a specified bounding rectangle.

Deprecated
func lineFragmentRect(forProposedRect: NSRect, sweepDirection: NSLineSweepDirection, movementDirection: NSLineMovementDirection, remaining: NSRectPointer?) -> NSRect

Overridden by subclasses to calculate and return the longest rectangle available in the proposed rectangle for displaying text, or NSZeroRect if there is none according to the receiver’s region definition.

Deprecated
func contains(NSPoint) -> Bool

Overridden by subclasses to return whether a point lies within the receiver’s region or on the region’s edge—not simply within its bounding rectangle.

Deprecated