Contents

NSStrokeWidthAttributeName

The width of the stroke.

Declaration

extern NSAttributedStringKey const NSStrokeWidthAttributeName;

Overview

The value of this attribute is an NSNumber object containing a floating-point value. This value represents the amount to change the stroke width and is specified as a percentage of the font point size. Specify 0 (the default) for no additional changes. Specify positive values to change the stroke width alone. Specify negative values to stroke and fill the text. For example, a typical value for outlined text would be 3.0.

See Also

Getting rendering attribute keys