One Logo Pool Ball
SwiftUICore · IOS API REFERENCE

Font.Resolved

struct · iOS 26.0+ · SDK 27.1

struct Resolved

A concrete font value. `Font.Resolved` is a concrete representation of a Font that can be shown, with a specific set of `EnvironmentValues`. A `Resolved` font will always map to the same CTFont on a given platform. - SeeAlso: ``Font``.

Members (11)

get · iOS 26.0+

ctFont

TypeScript
get ctFont(): _CoreText_CTFont
Swift declaration
var ctFont: CTFont { get }

Returns the CTFont opaque type that represents a CoreText font object.

get · iOS 26.0+

isSmallCaps

TypeScript
get isSmallCaps(): boolean
Swift declaration
var isSmallCaps: Bool { get }

Returns `true` if all of the resolved font's characters use small caps.

get · iOS 26.0+

isMonospaced

TypeScript
get isMonospaced(): boolean
Swift declaration
var isMonospaced: Bool { get }

Returns `true` if a resolved font is monospaced, false otherwise.

get · iOS 26.0+

isLowercaseSmallCaps

TypeScript
get isLowercaseSmallCaps(): boolean
Swift declaration
var isLowercaseSmallCaps: Bool { get }

Returns `true` if the resolved font's lowercased characters use small caps.

get · iOS 26.0+

isUppercaseSmallCaps

TypeScript
get isUppercaseSmallCaps(): boolean
Swift declaration
var isUppercaseSmallCaps: Bool { get }

Returns `true` if the resolved font's uppercased characters use small caps.

get · iOS 26.0+

width

TypeScript
get width(): Font_Width
Swift declaration
var width: Font.Width { get }

The width of a resolved font.

get · iOS 26.0+

isBold

TypeScript
get isBold(): boolean
Swift declaration
var isBold: Bool { get }

Returns `true` if the resolved font has a bold trait according to CoreText or the font's weight is semi-bold or greater.

get · iOS 26.0+

weight

TypeScript
get weight(): Font_Weight
Swift declaration
var weight: Font.Weight { get }

The weight of a resolved font.

get · iOS 26.0+

leading

TypeScript
get leading(): Font_Leading
Swift declaration
var leading: Font.Leading { get }

The leading of a resolved font.

get · iOS 26.0+

isItalic

TypeScript
get isItalic(): boolean
Swift declaration
var isItalic: Bool { get }

Returns `true` if the resolved font is italic.

get · iOS 26.0+

pointSize

TypeScript
get pointSize(): number
Swift declaration
var pointSize: CGFloat { get }

The point size of a resolved font.

Skipped declarations

No declarations were skipped in this snapshot.

All SwiftUICore types →