Show contents 

Working with Graphic Elements > Classes > CanvasSVGRenderer

CanvasSVGRenderer

Namespace: PP.Ui.

Inheritance hierarchy

Object

CanvasSVGRenderer

Description

The CanvasSVGRenderer class is used to transform A SVG object to canvas object.

Syntax

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

Constructor

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

Properties

  Property name Brief description
ImagePreloader The ImagePreloader property determines image loader.
ScaleX The ScaleX property sets scale of the transformed object along the horizontal axis.
ScaleY The ScaleY property sets scale of the transformed object along the vertical axis.

Methods

  Method name Brief description
render The render method renders a SVG element on the canvas.

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.
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.
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