Instance Property


Returns the font descriptor's dictionary of attributes.


var fontAttributes: [UIFontDescriptor.AttributeName : Any] { get }

Return Value

The attribute dictionary.

See Also

Querying a Font Descriptor

var matrix: CGAffineTransform

The current transform matrix of the font descriptor.

func object(forKey: UIFontDescriptor.AttributeName) -> Any?

Returns the font attribute specified by the given key.

var pointSize: CGFloat

The point size of the font descriptor.

var postscriptName: String

The PostScript name of the font descriptor.

var symbolicTraits: UIFontDescriptor.SymbolicTraits

A bit mask that describes the traits of the font descriptor.