Link Search Menu Expand Document

Font.Weight

Constants that represent standard font weights.

struct Weight: Hashable, Equatable, RawRepresentable 

Inheritance

Equatable, Hashable, RawRepresentable

Initializers

init(rawValue:)

public init(rawValue: Int32) 

Properties

rawValue

public let rawValue: Int32

ultraLight

The ultra-light font weight.

static var ultraLight: Font.Weight 

thin

The thin font weight.

static var thin: Font.Weight 

light

The light font weight.

static var light: Font.Weight 

regular

The regular font weight.

static var regular: Font.Weight 

medium

The medium font weight.

static var medium: Font.Weight 

semibold

The semibold font weight.

static var semibold: Font.Weight 

bold

The bold font weight.

static var bold: Font.Weight 

heavy

The heavy font weight.

static var heavy: Font.Weight 

black

The black font weight.

static var black: Font.Weight