Contents

widthValueType(for:edge:)

Returns the value type of an edge of a specified layer of the text block.

Declaration

func widthValueType(for layer: NSTextBlock.Layer, edge: NSRectEdge) -> NSTextBlock.ValueType

Parameters

  • layer:

    The layer to examine.

  • edge:

    The edge of the layer to examine.

Return Value

The value type of the edge of layer. This determines how the value for this edge of layer should be interpreted.

See Also

Getting and setting margins, borders, and padding