Link Search Menu Expand Document

Image.SymbolWeight

Constants that indicate which weight variant of a symbol image to use.

public enum SymbolWeight: Int 

Inheritance

Int

Enumeration Cases

unspecified

An unspecified symbol image weight.

case unspecified

ultraLight

An ultralight weight.

case ultraLight

thin

A thin weight

case thin

light

A light weight.

case light

regular

A regular weight.

case regular

medium

A medium weight.

case medium

semibold

A semibold weight.

case semibold

bold

A bold weight.

case bold

heavy

A heavy weight.

case heavy

black

An ultra-heavy weight.

case black

Methods

fontWeight()

The font weight for the specified symbol weight.

public func fontWeight() -> Font.Weight