PHP Classes

File: vendors/jqvmap/src/VectorCanvas/createGroup.js

Recommend this page to a friend!
  Classes of Jorge Castro   Gentelella BladeOne   vendors/jqvmap/src/VectorCanvas/createGroup.js   Download  
File: vendors/jqvmap/src/VectorCanvas/createGroup.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Gentelella BladeOne
Render templates using Bootstrap for presentation
Author: By
Last change:
Date: 3 years ago
Size: 481 bytes
 

Contents

Class file image Download
VectorCanvas.prototype.createGroup = function (isRoot) { var node; if (this.mode === 'svg') { node = this.createSvgNode('g'); } else { node = this.createVmlNode('group'); node.style.width = this.width + 'px'; node.style.height = this.height + 'px'; node.style.left = '0px'; node.style.top = '0px'; node.coordorigin = '0 0'; node.coordsize = this.width + ' ' + this.height; } if (isRoot) { this.rootGroup = node; } return node; };