SwiftextensionSwiftUICore
FontDefinition
extension SwiftUI.FontDefinition
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
extends{}
protocolSwiftUI.FontDefinition
Members 10
- func
static resolveCustomFont(name: String, size: CoreGraphics.CGFloat, textStyle: SwiftUI.Font.TextStyle?, in: SwiftUI.Font.Context) -> CTFontDescriptorRef - func
static resolveFont(CTFontRef) -> CTFontDescriptorRef - func
static resolveFontInfo(CTFontRef) -> SwiftUI.Font.ResolvedTraits - func
static resolvePrivateSystemDesignFont(size: CoreGraphics.CGFloat, design: CFStringRef, weight: SwiftUI.Font.Weight, in: SwiftUI.Font.Context) -> CTFontDescriptorRef - func
static resolvePrivateSystemDesignFontInfo(size: CoreGraphics.CGFloat, design: CFStringRef, weight: SwiftUI.Font.Weight, in: SwiftUI.Font.Context) -> SwiftUI.Font.ResolvedTraits - func
static resolvePrivateTextStyleFont(textStyle: CFStringRef, design: CFStringRef?, weight: SwiftUI.Font.Weight?, in: SwiftUI.Font.Context) -> CTFontDescriptorRef - func
static resolvePrivateTextStyleFontInfo(textStyle: CFStringRef, design: CFStringRef?, weight: SwiftUI.Font.Weight?, in: SwiftUI.Font.Context) -> SwiftUI.Font.ResolvedTraits - func
static resolveSystemFont(size: CoreGraphics.CGFloat, design: SwiftUI.Font.Design?, weight: SwiftUI.Font.Weight?, in: SwiftUI.Font.Context) -> CTFontDescriptorRef - func
static resolveTextStyleFont(textStyle: SwiftUI.Font.TextStyle, design: SwiftUI.Font.Design?, weight: SwiftUI.Font.Weight?, in: SwiftUI.Font.Context) -> CTFontDescriptorRef - func
static resolveTextStyleFontInfo(textStyle: SwiftUI.Font.TextStyle, design: SwiftUI.Font.Design?, weight: SwiftUI.Font.Weight?, in: SwiftUI.Font.Context) -> SwiftUI.Font.ResolvedTraits
Header
extension SwiftUI.FontDefinition { static func resolveCustomFont(name: Swift.String, size: CoreGraphics.CGFloat, textStyle: SwiftUI.Font.TextStyle?, in: SwiftUI.Font.Context) -> __C.CTFontDescriptorRef static func resolveSystemFont(size: CoreGraphics.CGFloat, design: SwiftUI.Font.Design?, weight: SwiftUI.Font.Weight?, in: SwiftUI.Font.Context) -> __C.CTFontDescriptorRef static func resolveTextStyleFont(textStyle: SwiftUI.Font.TextStyle, design: SwiftUI.Font.Design?, weight: SwiftUI.Font.Weight?, in: SwiftUI.Font.Context) -> __C.CTFontDescriptorRef static func resolveTextStyleFontInfo(textStyle: SwiftUI.Font.TextStyle, design: SwiftUI.Font.Design?, weight: SwiftUI.Font.Weight?, in: SwiftUI.Font.Context) -> SwiftUI.Font.ResolvedTraits static func resolvePrivateTextStyleFont(textStyle: __C.CFStringRef, design: __C.CFStringRef?, weight: SwiftUI.Font.Weight?, in: SwiftUI.Font.Context) -> __C.CTFontDescriptorRef static func resolvePrivateTextStyleFontInfo(textStyle: __C.CFStringRef, design: __C.CFStringRef?, weight: SwiftUI.Font.Weight?, in: SwiftUI.Font.Context) -> SwiftUI.Font.ResolvedTraits static func resolvePrivateSystemDesignFont(size: CoreGraphics.CGFloat, design: __C.CFStringRef, weight: SwiftUI.Font.Weight, in: SwiftUI.Font.Context) -> __C.CTFontDescriptorRef static func resolvePrivateSystemDesignFontInfo(size: CoreGraphics.CGFloat, design: __C.CFStringRef, weight: SwiftUI.Font.Weight, in: SwiftUI.Font.Context) -> SwiftUI.Font.ResolvedTraits static func resolveFont(_: __C.CTFontRef) -> __C.CTFontDescriptorRef static func resolveFontInfo(_: __C.CTFontRef) -> SwiftUI.Font.ResolvedTraits }