Instance Property

borderColor

The color of the receiver’s border when the receiver is a custom box with a simple line border.

Declaration

@NSCopying var borderColor: NSColor { get set }

Discussion

The receiver’s border color. It must be a custom box—that is, it has a type of NSBox.BoxType.custom—and it must have a border style of NSBorderType.lineBorder.

Special Considerations

Functional only when the receiver’s box type (boxType) is NSBoxCustom and its border type (borderType) is NSLineBorder.

See Also

Customizing

var borderWidth: CGFloat

The width of the receiver’s border when the receiver is a custom box with a simple line border.

var cornerRadius: CGFloat

The radius of the receiver’s corners when the receiver is a custom box with a simple line border.

var fillColor: NSColor

The color of the receiver’s background when the receiver is a custom box with a simple line border.