Contents

setBorderColor(_:for:)

Sets the border color of the specified edge of the text block.

Declaration

func setBorderColor(_ color: NSColor?, for edge: NSRectEdge)

Parameters

  • color:

    The new color.

  • edge:

    The edge whose color is to be set.

Discussion

This setting has no visible effect unless the border width is larger than the default, which is 0.

See Also

Related Documentation

Working with color