UIFontDescriptor.FromName UIFontDescriptor.FromName Method

Definition

Overloads

FromName(String, CGAffineTransform) FromName(String, CGAffineTransform)

Creates a UIFontDescriptor using the specified name and transformation matrix.

FromName(String, nfloat) FromName(String, nfloat)

Creates a UIFontDescriptor using the specified name and font size.

FromName(String, CGAffineTransform) FromName(String, CGAffineTransform)

Creates a UIFontDescriptor using the specified name and transformation matrix.

[Foundation.Export("fontDescriptorWithName:matrix:")]
public static UIKit.UIFontDescriptor FromName (string fontName, CoreGraphics.CGAffineTransform matrix);
static member FromName : string * CoreGraphics.CGAffineTransform -> UIKit.UIFontDescriptor

Parameters

fontName
String String

Font name.

matrix
CGAffineTransform CGAffineTransform

Transformation matrix.

Returns

Remarks

This can be used from a background thread.

FromName(String, nfloat) FromName(String, nfloat)

Creates a UIFontDescriptor using the specified name and font size.

[Foundation.Export("fontDescriptorWithName:size:")]
public static UIKit.UIFontDescriptor FromName (string fontName, nfloat size);
static member FromName : string * nfloat -> UIKit.UIFontDescriptor

Parameters

fontName
String String

Font name.

size
nfloat nfloat

Font size.

Returns

Remarks

This can be used from a background thread.

Applies to