Key

extension NSAttributedString.Key
  • The value of this attribute is a Typeface object. 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 CGFloat value. 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 CGFloat value. 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 CGFloat value. Use this attribute to specify the scale of of the typeface during rendering.

    Declaration

    Swift

    public static let scaleY: NSAttributedString.Key