One Logo Pool Ball
UIKit · IOS API REFERENCE

UIFont.TextStyle

struct · SDK 27.1

struct TextStyle

Members (15)

get · iOS 7.0+

body

TypeScript
get body(): UIFont_TextStyle
Swift declaration
static let body: UIFont.TextStyle
get · iOS 9.0+

callout

TypeScript
get callout(): UIFont_TextStyle
Swift declaration
static let callout: UIFont.TextStyle
get · iOS 7.0+

caption1

TypeScript
get caption1(): UIFont_TextStyle
Swift declaration
static let caption1: UIFont.TextStyle
get · iOS 7.0+

caption2

TypeScript
get caption2(): UIFont_TextStyle
Swift declaration
static let caption2: UIFont.TextStyle
get · iOS 17.0+

extraLargeTitle2

TypeScript
get extraLargeTitle2(): UIFont_TextStyle
Swift declaration
static let extraLargeTitle2: UIFont.TextStyle
get · iOS 17.0+

extraLargeTitle

TypeScript
get extraLargeTitle(): UIFont_TextStyle
Swift declaration
static let extraLargeTitle: UIFont.TextStyle
get · iOS 7.0+

footnote

TypeScript
get footnote(): UIFont_TextStyle
Swift declaration
static let footnote: UIFont.TextStyle
get · iOS 7.0+

headline

TypeScript
get headline(): UIFont_TextStyle
Swift declaration
static let headline: UIFont.TextStyle
get · iOS 11.0+

largeTitle

TypeScript
get largeTitle(): UIFont_TextStyle
Swift declaration
static let largeTitle: UIFont.TextStyle
get · iOS 7.0+

subheadline

TypeScript
get subheadline(): UIFont_TextStyle
Swift declaration
static let subheadline: UIFont.TextStyle
get · iOS 9.0+

title1

TypeScript
get title1(): UIFont_TextStyle
Swift declaration
static let title1: UIFont.TextStyle
get · iOS 9.0+

title2

TypeScript
get title2(): UIFont_TextStyle
Swift declaration
static let title2: UIFont.TextStyle
get · iOS 9.0+

title3

TypeScript
get title3(): UIFont_TextStyle
Swift declaration
static let title3: UIFont.TextStyle
get · iOS 11.0+

metrics

TypeScript
getMetrics($self: UIFont_TextStyle): UIFontMetrics
Swift declaration
var metrics: UIFontMetrics { get }
init

init

TypeScript
init(rawValue: string): UIFont_TextStyle
Swift declaration
init(rawValue: String)

Skipped declarations

No declarations were skipped in this snapshot.

All UIKit types →