CanvasHTMLRenderer.setScale

Syntax

render(value_x: Number, y: Number);

Parameters

value_x. Scale value by the X axis.

y. Scale value by the Y axis.

Description

The setScale method sets scale of rendering area.

Comments

If the y parameter is set to no value, the value_x value is set for both axes.

Example

The example of property use is given in description of the CanvasHTMLRenderer constructor.

See also:

CanvasHTMLRenderer