Contents

strokeColor

The color of the stroke.

Declaration

static let strokeColor: NSAttributedString.Key

Discussion

The value of this parameter is a UIColor object. If it is not defined (which is the case by default), it is assumed to be the same as the value of foregroundColor; otherwise, it describes the outline color. For more details, see Drawing attributed strings that are both filled and stroked.

See Also

Getting rendering attribute keys