Instance Property

cornerRadius

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

Declaration

@property CGFloat cornerRadius;

Discussion

The receiver’s corner radius. It must be a custom box—that is, it has a type of NSBoxCustom—and it must have a border style of NSLineBorder.

Special Considerations

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

See Also

Customizing

borderColor

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

borderWidth

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

fillColor

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