Enumeration

NSFontAction

Actions that modify a font.

Declaration

typedef enum NSFontAction : NSUInteger {
    ...
} NSFontAction;

Topics

Constants

NSNoFontChangeAction

No action; the font is returned unchanged.

NSViaPanelFontAction

Converts the font according to the NSFontPanel method panelConvertFont:.

NSAddTraitFontAction

Converts the font to have an additional trait using convertFont:toHaveTrait:.

NSSizeUpFontAction

Converts the font to a larger size using convertFont:toSize:.

NSSizeDownFontAction

Converts the font to a smaller size using convertFont:toSize:.

NSHeavierFontAction

Converts the font to a heavier weight using convertWeight:ofFont:.

NSLighterFontAction

Converts the font to a lighter weight using convertWeight:ofFont:.

NSRemoveTraitFontAction

Converts the font to remove a trait using convertFont:toNotHaveTrait:.

See Also

Sending Action Methods

- addFontTrait:

Adds a trait to the font.

- removeFontTrait:

Removes a trait from the font.

- modifyFont:

Modifies a trait of the font.

- modifyFontViaPanel:

Modifies a font trait using input from the Font panel.

- orderFrontStylesPanel:

Opens the Font Styles panel.

- orderFrontFontPanel:

Opens the Font panel, creating it if necessary, and displays that panel in front of the app's windows.