Working with Tree Map > Classes > TreeMap > TreeMap.getCanvasContext
getCanvasContext();
The getCanvasContext method gets canvas rendering context.
This method returns an object of the following type: CanvasRenderingContext2D.
Canvas (canvas) is a HTML5 element used to create a raster 2D image by means of programming (as usual in the JavaScript language).
Canvas rendering context is a set of tools used to draw in this canvas.
The example of use is given in the page with description of the CanvasLabel constructor.
Seealso: