Sha256: bc26aca5a0cfb377d40878ae011a4841a66f2cb079fbb6a461ef41635a12539a
Contents?: true
Size: 473 Bytes
Versions: 4
Compression:
Stored size: 473 Bytes
Contents
/** * Class for vector images manipulations. * @constructor * @param {DOMElement} container to place canvas to * @param {Number} width * @param {Number} height */ jvm.VectorCanvas = function(container, width, height) { this.mode = window.SVGAngle ? 'svg' : 'vml'; if (this.mode == 'svg') { this.impl = new jvm.SVGCanvasElement(container, width, height); } else { this.impl = new jvm.VMLCanvasElement(container, width, height); } return this.impl; };
Version data entries
4 entries across 4 versions & 2 rubygems