setWidth(_:type:for:)
Sets the width of all edges of a specified layer of the text block.
Declaration
func setWidth(_ width: CGFloat, type: NSTextBlock.ValueType, for layer: NSTextBlock.Layer)Parameters
- width:
The new value for the specified edge width.
- type:
The type of value being provided. This controls how
widthis interpreted. - layer:
The layer of the text block to modify.