Edit

Share via


CATextLayer.SetFont Method

Definition

Overloads

SetFont(NSFont)
SetFont(CGFont)

Sets the font.

SetFont(CTFont)

Sets the font.

SetFont(String)

Sets the font.

SetFont(NSFont)

public void SetFont (AppKit.NSFont font);
member this.SetFont : AppKit.NSFont -> unit

Parameters

font
NSFont

Applies to

SetFont(CGFont)

Sets the font.

public void SetFont (CoreGraphics.CGFont font);
member this.SetFont : CoreGraphics.CGFont -> unit

Parameters

font
CGFont

Applies to

SetFont(CTFont)

Sets the font.

public void SetFont (CoreText.CTFont font);
member this.SetFont : CoreText.CTFont -> unit

Parameters

font
CTFont

Applies to

SetFont(String)

Sets the font.

public void SetFont (string fontName);
member this.SetFont : string -> unit

Parameters

fontName
String

Applies to