Lines Matching refs:obj

543           obj = global || fabric.window;
546 obj = obj[parts[i]];
549 return obj;
628 klass.fromObject(o, function (obj, error) { argument
630 enlivenedObjects[index] = obj;
3876 var obj = klass.fromElement(el, this.options);
3877 this.resolveGradient(obj, 'fill');
3878 this.resolveGradient(obj, 'stroke');
3879 this.reviver && this.reviver(el, obj);
3880 this.instances[index] = obj;
3887 return function(obj) { argument
3888 _this.resolveGradient(obj, 'fill');
3889 _this.resolveGradient(obj, 'stroke');
3890 _this.reviver && _this.reviver(el, obj);
3891 _this.instances[index] = obj;
3896 fabric.ElementsParser.prototype.resolveGradient = function(obj, property) { argument
3898 var instanceFillValue = obj.get(property);
3904 obj.set(property,
3905 fabric.Gradient.fromElement(fabric.gradientDefs[this.svgUid][gradientId], obj));
5243 forObject: function(obj, options) { argument
5245 _convertPercentUnitsToValues(obj, options.coords, 'userSpaceOnUse');
5613 var obj = { }, proto = fabric.Shadow.prototype;
5615 obj.color = this.color;
5618 obj.blur = this.blur;
5621 obj.offsetX = this.offsetX;
5624 obj.offsetY = this.offsetY;
5626 return obj;
6397 _onObjectAdded: function(obj) { argument
6398 this.stateful && obj.setupState();
6399 obj.canvas = this;
6400 obj.setCoords();
6401 this.fire('object:added', { target: obj });
6402 obj.fire('added');
6409 _onObjectRemoved: function(obj) { argument
6411 if (this.getActiveObject() === obj) {
6412 this.fire('before:selection:cleared', { target: obj });
6417 this.fire('object:removed', { target: obj });
6418 obj.fire('removed');
8735 _checkTarget: function(e, obj, pointer) { argument
8736 if (obj &&
8737 obj.visible &&
8738 obj.evented &&
8739 this.containsPoint(e, obj)){
8740 if ((this.perPixelTargetFind || obj.perPixelTargetFind) && !obj.isEditing) {
8741 var isTransparent = this.isTargetTransparent(obj, pointer.x, pointer.y);
10419 enlivenedObjects.forEach(function(obj, index) { argument
10420 _this.insertAt(obj, index, true);
11346 _setObject: function(obj) { argument
11347 for (var prop in obj) {
11348 this._set(prop, obj[prop]);
14027 var obj = new fabric.Circle(extend(parsedAttributes, options));
14029 obj.left -= obj.radius;
14030 obj.top -= obj.radius;
14031 return obj;
16773 obj = { class in AnonymousFunction064b60f120800
16779 obj.left = minXY.x || 0;
16780 obj.top = minXY.y || 0;
16782 obj.left += obj.width / 2;
16785 obj.left += obj.width;
16788 obj.top += obj.height / 2;
16791 obj.top += obj.height;
16794 return obj;
20593 var obj = this.styles;
20595 for (var p1 in obj) {
20596 for (var p2 in obj[p1]) {
20598 for (var p3 in obj[p1][p2]) {
21576 _this.canvas._iTextInstances.forEach(function(obj) { argument
21577 obj.__isMousedown = false;
21597 _animateCursor: function(obj, targetOpacity, duration, completeMethod) { argument
21608 obj.animate('_currentCursorOpacity', targetOpacity, {
21612 obj[completeMethod]();
21616 if (obj.canvas) {
21617 obj.canvas.clearContext(obj.canvas.contextTop || obj.ctx);
21618 obj.renderCursorOrSelection();
21872 canvas._iTextInstances.forEach(function(obj) { argument
21873 obj.selected = false;
21874 if (obj.isEditing) {
21875 obj.exitEditing();