CATextLayer.SetFont Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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