Structure

UIFontDescriptor.AttributeName

These font attributes are defined by UIFontDescriptor.

Declaration

struct AttributeName

Topics

Constants

static let cascadeList: UIFontDescriptor.AttributeName

An NSArray instance—each member of the array is a sub-descriptor. The default value is the system default cascading list for user's locale.

static let characterSet: UIFontDescriptor.AttributeName

An NSCharacterSet instance that represents the set of Unicode characters covered by the font. The default value is supplied by the font.

static let face: UIFontDescriptor.AttributeName

An optional NSString object that specifies the font face.

static let family: UIFontDescriptor.AttributeName

An optional NSString object that specifies the font family.

static let fixedAdvance: UIFontDescriptor.AttributeName

An NSNumber instance containing a float value that overrides the glyph advancement specified by the font. The default value is 0.0.

static let matrix: UIFontDescriptor.AttributeName

A CGAffineTransform instance that specifies the font’s transformation matrix. The default value is the identity matrix.

static let name: UIFontDescriptor.AttributeName

An optional NSString object that specifies the font name.

static let size: UIFontDescriptor.AttributeName

An optional NSNumber object, containing a float value, that specifies the font size.

static let traits: UIFontDescriptor.AttributeName

An NSDictionary instance fully describing font traits. The default value is supplied by the font. See Font Traits Dictionary Keys for dictionary keys.

static let visibleName: UIFontDescriptor.AttributeName

An optional NSString object that specifies the font’s visible name.

Relationships