toCanvasFormat();
The toCanvasFormat method returns a string with font settings for the canvas element.
Canvas (canvas) is a HTML5 element used to create a raster 2D image by means of programming (as usual in the JavaScript language).
The example of use is given in the page with description of the Font.toCSSFormat method.