onPaint
open fun onPaint(browser: CefBrowser, popup: Boolean, dirtyRects: Array<Rectangle>, buffer: ByteBuffer, width: Int, height: Int)
Handle painting.
Parameters
browser
The browser generating the event.
popup
True if painting a popup window.
dirtyRects
Array of dirty regions.
buffer
Pixel buffer for the whole window.
width
Width of the buffer.
height
Height of the buffer.