Draws the image associated with the button’s current state.
- macOS 10.4+
The image associated with the button's current state.
The bounding rectangle of the button.
The control being drawn.
This method is called automatically when the button is redrawn; you should not call it directly.
You specify the primary and alternate images for the button using Interface Builder.