Canvas wx.createCanvas()

Creates a canvas object. When this API is called the first time, an on-screen canvas is created, and thereafter, off-screen canvases are created.

Return Values

Canvas

The canvas object.