Modifier

Partager via


UIFontDescriptor.FromName Method

Definition

Overloads

FromName(String, CGAffineTransform)

Creates a UIFontDescriptor using the specified name and transformation matrix.

FromName(String, nfloat)

Creates a UIFontDescriptor using the specified name and font size.

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

Font name.

matrix
CGAffineTransform

Transformation matrix.

Returns

Attributes

Remarks

This can be used from a background thread.

Applies to

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

Font name.

size
nfloat

Font size.

Returns

Attributes

Remarks

This can be used from a background thread.

Applies to