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
sub_image.gif CanvasHTMLRenderer The CanvasHTMLRenderer constructor creates an instance of the PP.Ui.CanvasHTMLRenderer class.

Properties

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

Methods

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

Events

  Method name Brief description
event_image.gif Preloaded The Preloaded event occurs after loading of all images.
event_image.gif 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 the 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