Font.toCanvasFormat

Syntax

toCanvasFormat();

Description

The toCanvasFormat method returns a string with font settings for the canvas element.

Comments

Canvas (canvas) is a HTML5 element used to create a raster 2D image by means of programming (as usual in the JavaScript language).

Example

The example of use is given in the page with description of the Font.toCSSFormat method.

Font