Contents

provideNewButtonImage()

Provides the image of the button used to select the receiver in the color panel.

Declaration

@MainActor func provideNewButtonImage() -> NSImage

Return Value

The image for the mode button the user uses to select this picker in the color panel; that is, the color picker’s representation in the NSMatrix of the NSColorPanel.

Discussion

This image is the same one the color panel uses as an argument when sending the insertNewButtonImage(_:in:) message.

See Also

Configuring Color Pickers