Underline Masks

This constant defines the underlining style for NSUnderlineStyleAttributeName and NSStrikethroughStyleAttributeName.

Overview

Use this constant with the desired underline style to create the given effect. For example, to get a thick underline only underneath words, set NSUnderlineStyleAttribute to (NSUnderlineStyleThick | NSUnderlineByWordMask). Also see NSUnderlineStyle.

Topics

Constants

NSUnderlineByWordMask

Draw the underline only underneath words, not underneath whitespace.

Deprecated