Link Search Menu Expand Document

FontDescriptor.AttributeName

Constants that describe font attributes.

public struct AttributeName: Equatable, Hashable, RawRepresentable 

Inheritance

Equatable, Hashable, RawRepresentable

Nested Type Aliases

RawValue

public typealias RawValue = String

Initializers

init(rawValue:)

public init(rawValue: RawValue) 

Properties

rawValue

public let rawValue: RawValue

cascadeList

The cascading list attribute.

public static var cascadeList: FontDescriptor.AttributeName 

characterSet

The character set attribute.

public static var characterSet: FontDescriptor.AttributeName 

face

The font face attribute.

public static var face: FontDescriptor.AttributeName 

family

The font family attribute.

public static var family: FontDescriptor.AttributeName 

featureSettings

The font feature settings attribute.

public static var featureSettings: FontDescriptor.AttributeName 

fixedAdvance

The glyph advancement attribute.

public static var fixedAdvance: FontDescriptor.AttributeName 

matrix

The font’s transformation matrix attribute.

public static var matrix: FontDescriptor.AttributeName 

name

The font name attribute.

public static var name: FontDescriptor.AttributeName 

size

The font size attribute.

public static var size: FontDescriptor.AttributeName 

symbolic

The font’s stylistic properties attribute.

public static var symbolic: FontDescriptor.AttributeName 

textStyle

The text style attribute.

public static var textStyle: FontDescriptor.AttributeName 

traits

The font traits dictionary attribute.

public static var traits: FontDescriptor.AttributeName 

visibleName

The font’s visible name attribute.

public static var visibleName: FontDescriptor.AttributeName