Initialize Measurement

This commit is contained in:
SillyInventor 2017-02-10 14:21:45 -05:00
parent 35803dcfc9
commit dc53feaf41

View file

@ -37,6 +37,7 @@ class SvgRenderer {
constructor (canvas) {
this._canvas = canvas || document.createElement('canvas');
this._context = this._canvas.getContext('2d');
this._measurements = {x: 0, y: 0, width: 0, height: 0};
}
/**