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

Id

The Id property determines a repository object identifier.

Methods inherited from the class Object

  Method name Brief description
clone The clone method creates an object copy.
dispose The dispose method deletes the component.
getHashCode The getHashCode method returns hash code of repository object.
getId The getId method returns repository object identifier.
getSettings The getSettings method returns repository object settings.
getTypeName The getTypeName method returns the name of the object type without the namespace, to which it belongs.
isEqual The isEqual method determines whether the specified object is equal to the current repository object.
isLive The isLive method determines validity of repository object.
removeAllEvents The removeAllEvents method removes all object event handlers by the specified context.
setId The setId method determines a repository object identifier.
setSettings The setSettings method determines repository object settings.
defineProps The defineProps method creates get and set methods from name array for the specified class.
keys The keys method returns array of methods and properties names for the specified object.

See also:

PP.Ui