Contents

reloadImage()

Requests a new image for the custom tool item from the image provider.

Declaration

func reloadImage()

Discussion

Calling this method requests a new image for the custom tool item from the imageProvider of the configuration.

The system automatically calls this method when PencilKit attributes like color or width change. You can call this method when you need to generate a new image for the custom tool item that’s different from the current image.