Contents

value(for:)

Returns the value of the specified text block dimension.

Declaration

func value(for dimension: NSTextBlock.Dimension) -> CGFloat

Return Value

The value for the specified dimension. This value should be interpreted according to the value type returned by valueType(for:).

See Also

Working with dimensions of content