Enumeration

NSTextBlock.Layer

The following constants specify values used by the properties and methods contentWidthValueType, setWidth(_:type:for:edge:), setWidth(_:type:for:), width(for:edge:), and widthValueType(for:edge:) to specify text block layer values.

Topics

Constants

case padding

Padding of the text block: space surrounding the content area extending to the border.

case border

Border of the text block: space between padding and margin, typically colored to present a visible boundary.

case margin

Margin of the text block: space surrounding the border.