kCTUnderlineStyleAttributeName

Static kCTUnderlineStyleAttributeName 

Source
pub unsafe static kCTUnderlineStyleAttributeName: &'static CFString
Available on crate feature CTStringAttributes only.
Expand description

Allows the setting of an underline to be applied at render time.

Value must be a CFNumberRef. Default is kCTUnderlineStyleNone. Set a value of something other than kCTUnderlineStyleNone to draw an underline. In addition, the CTUnderlineStyleModifiers can be used to modify the look of the underline. The underline color will be determined by the text’s foreground color unless otherwise specified by kCTUnderlineColorAttributeName.

See also Apple’s documentation