FontDescriptor.TraitKey
public struct TraitKey: 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
slant
The relative slant angle of the font.
public static var slant: FontDescriptor.TraitKey
symbolic
The symbolic font traits.
public static var symbolic: FontDescriptor.TraitKey
weight
The normalized font weight.
public static var weight: FontDescriptor.TraitKey
width
The inter-glyph spacing of the font.
public static var width: FontDescriptor.TraitKey