CanvasHTMLRenderer

Namespace: PP.Ui;

Inheritance hierarchy

Object

CanvasHTMLRenderer

Description

The CanvasHTMLRenderer method renders a DOM node structure.

Syntax

PP.initClass(PP.Ui.CanvasHTMLRenderer, PP.Object, "PP.Ui.CanvasHTMLRenderer");

Constructor

  Constructor name Brief description
CanvasHTMLRenderer The CanvasHTMLRenderer constructor creates an instance of the PP.Ui.CanvasHTMLRenderer class.

Properties

  Property name Brief description
Height The Height property determines rendering area height.
ImagePreloader The ImagePreloader property determines image loader.
RecursiveBoundsCalc The RecursiveBoundsCalc property determines automatic calculation of size and position of DOM tree.
ScaleX The ScaleX property determines scale by the X axis of the rendering area.
ScaleY The ScaleY property determines scale by the Y axis of the rendering area.
TaintTest The TaintTest property determines start of validation test.
Width The Width property determines rendering area width.

Methods

  Method name Brief description
render The render method renders a DOM node.
setScale The setScale method sets scale of rendering area.

Events

  Method name Brief description
Preloaded The Preloaded event occurs after loading of all images.
Rendered The Rendered event occurs after rendering is finished.

Properties inherited from the class Object

  Property name Brief description
Data The Data property associates a random object with this component.
Id The Id property sets component identifier.
Settings The Settings property sets component parameters.

Methods inherited from the class Object

  Method name Brief description
clone The clone method creates a copy of object. It is not implemented in PP.Ui.Control.
dispose The dispose method deletes the component.
getTypeName The getTypeName method returns the name of the object type without the namespace, to which it belongs.

See also:

PP.Ui