Key
extension NSAttributedString.Key
-
The value of this attribute is a
Typefaceobject. Use this attribute to specify the typeface of the text during rendering.Declaration
Swift
public static let typeface: NSAttributedString.Key -
The value of this attribute is a
CGFloatvalue. Use this attribute to specify the size of of the typeface during rendering.Declaration
Swift
public static let typeSize: NSAttributedString.Key -
The value of this attribute is a
CGFloatvalue. Use this attribute to specify the scale of of the typeface during rendering.Declaration
Swift
public static let scaleX: NSAttributedString.Key -
The value of this attribute is a
CGFloatvalue. Use this attribute to specify the scale of of the typeface during rendering.Declaration
Swift
public static let scaleY: NSAttributedString.Key
View on GitHub
Install in Dash
Key Extension Reference