Instance Method

set()

Sets this font as the font for the current graphics context.

Declaration

func set()

Discussion

This method sets the font for the graphics system but does not affect the higher-level settings of the Cocoa text system, which are controlled by text attributes.

See Also

Related Symbols

use​Font:​

Records the given font name as one used in the current print operation.

func set(in:​ NSGraphics​Context)

Sets this font as the font for the specified graphics context.