setValue(_:type:for:)
Sets a dimension of the text block.
Declaration
func setValue(_ val: CGFloat, type: NSTextBlock.ValueType, for dimension: NSTextBlock.Dimension)Parameters
- val:
The new value for the dimension.
- type:
The type of value being provided. This controls how
valis interpreted. - dimension:
The dimension to set.