UIFont class

UIFont

Available extensions

Constructors

UIFont.new()
Returns a new instance of UIFont constructed with the default new method.
factory
UIFont.castFrom(ObjCObjectBase other)
Constructs a UIFont that points to the same underlying object as other.
UIFont.castFromPointer(Pointer<ObjCObject> other, {bool retain = false, bool release = false})
Constructs a UIFont that wraps the given raw object pointer.

Properties

ascender double

Available on UIFont, provided by the UIFont$Methods extension

ascender
no setter
capHeight double

Available on UIFont, provided by the UIFont$Methods extension

capHeight
no setter
descender double

Available on UIFont, provided by the UIFont$Methods extension

descender
no setter
familyName → NSString

Available on UIFont, provided by the UIFont$Methods extension

familyName
no setter
fontDescriptor UIFontDescriptor

Available on UIFont, provided by the UIFont$Methods extension

fontDescriptor
no setter
fontName → NSString

Available on UIFont, provided by the UIFont$Methods extension

fontName
no setter
hashCode int
The hash code for this object.
no setterinherited
leading double

Available on UIFont, provided by the UIFont$Methods extension

leading
no setter
lineHeight double

Available on UIFont, provided by the UIFont$Methods extension

lineHeight
no setter
pointSize double

Available on UIFont, provided by the UIFont$Methods extension

pointSize
no setter
ref → ObjCObjectRef
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
xHeight double

Available on UIFont, provided by the UIFont$Methods extension

xHeight
no setter

Methods

autorelease() UIFont

Available on UIFont, provided by the UIFont$Methods extension

autorelease
encodeWithCoder(NSCoder coder) → void

Available on UIFont, provided by the UIFont$Methods extension

encodeWithCoder:
fontWithSize(double fontSize) UIFont

Available on UIFont, provided by the UIFont$Methods extension

fontWithSize:
init() UIFont

Available on UIFont, provided by the UIFont$Methods extension

init
initWithCoder(NSCoder coder) UIFont?

Available on UIFont, provided by the UIFont$Methods extension

initWithCoder:
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
retain() UIFont

Available on UIFont, provided by the UIFont$Methods extension

retain
self$1() UIFont

Available on UIFont, provided by the UIFont$Methods extension

self
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

alloc() UIFont
alloc
allocWithZone(Pointer<NSZone> zone) UIFont
allocWithZone:
boldSystemFontOfSize(double fontSize) UIFont
boldSystemFontOfSize:
fontNamesForFamilyName(NSString familyName) → NSArray
fontNamesForFamilyName:
fontWithDescriptor(UIFontDescriptor descriptor, {required double size}) UIFont
fontWithDescriptor:size:
fontWithName(NSString fontName, {required double size}) UIFont?
fontWithName:size:
getFamilyNames() → NSArray
familyNames
getSupportsSecureCoding() bool
supportsSecureCoding
isInstance(ObjCObjectBase obj) bool
Returns whether obj is an instance of UIFont.
italicSystemFontOfSize(double fontSize) UIFont
italicSystemFontOfSize:
monospacedDigitSystemFontOfSize(double fontSize, {required double weight}) UIFont
monospacedDigitSystemFontOfSize:weight:
monospacedSystemFontOfSize(double fontSize, {required double weight}) UIFont
monospacedSystemFontOfSize:weight:
new$() UIFont
new
preferredFontForTextStyle(NSString style) UIFont
preferredFontForTextStyle:
preferredFontForTextStyle$1(NSString style, {UITraitCollection? compatibleWithTraitCollection}) UIFont
preferredFontForTextStyle:compatibleWithTraitCollection:
systemFontOfSize(double fontSize) UIFont
systemFontOfSize:
systemFontOfSize$1(double fontSize, {required double weight}) UIFont
systemFontOfSize:weight: