Lines Matching refs:type

281   getObjects: function(type) {
282 if (typeof type === 'undefined') {
286 return o.type === type;
524 getKlass: function(type, namespace) { argument
526 type = fabric.util.string.camelize(type.charAt(0).toUpperCase() + type.slice(1));
527 return fabric.util.resolveNamespace(namespace)[type];
622 if (!o || !o.type) {
626 var klass = fabric.util.getKlass(o.type, namespace);
1836 var touchProp = event.type === 'touchend' ? 'changedTouches' : 'touches';
3409 return fabric[capitalize(o.type)].fromObject(o);
3783 if (objects[i].type !== 'text' || !objects[i].path) {
4964 this.type = options.type || 'linear';
4973 if (this.type === 'radial') {
5009 type: this.type,
5033 if (!(object.group && object.group.type === 'path-group')) {
5049 if (this.type === 'linear') {
5062 else if (this.type === 'radial') {
5089 markup.push((this.type === 'linear' ? '</linearGradient>\n' : '</radialGradient>\n'));
5103 if (!this.type) {
5107 if (object.group && object.group.type === 'path-group') {
5118 if (object.type === 'text' || object.type === 'i-text') {
5129 if (this.type === 'linear') {
5133 else if (this.type === 'radial') {
5202 type = (el.nodeName === 'linearGradient' ? 'linear' : 'radial'),
5208 if (type === 'linear') {
5211 else if (type === 'radial') {
5222 type: type,
5273 if (object.type === 'ellipse' &&
8220 object.type !== 'group' &&
9279 if (e.type === 'touchstart') {
9305 if (e.type === 'touchend') {
10790 type: 'object',
11262 type: this.type, property in AnonymousFunction064b60f112d00.object
11314 var prototype = fabric.util.getKlass(object.type).prototype,
11331 return '#<fabric.' + capitalize(this.type) + '>';
11722 isType: function(type) { argument
11723 return this.type === type;
11796 gradient.type = options.type || (options.r1 || options.r2 ? 'radial' : 'linear');
12773 if (this.group && this.group.type === 'path-group') {
12783 translatePart = this.type === 'path-group' ? '' : 'translate(' +
12801 addTranslateX = this.type === 'path-group' ? this.width * vpt[0] : 0,
12805 addTranslateY = this.type === 'path-group' ? this.height * vpt[3] : 0,
13004 vLine = this.type === 'line' && this.width === 0,
13005 hLine = this.type === 'line' && this.height === 0,
13501 type: 'line',
13711 if (!(this.group && this.group.type === 'path-group')) {
13834 type: 'circle',
13911 if (this.group && this.group.type === 'path-group') {
14081 type: 'triangle',
14209 type: 'ellipse',
14299 if (this.group && this.group.type === 'path-group') {
14431 type: 'rect',
14564 if (!(this.group && this.group.type === 'path-group')) {
14662 type: 'polyline',
14852 type: 'polygon',
14950 '<', this.type, ' ',
14993 if (!(this.group && this.group.type === 'path-group')) {
15115 type: 'path',
15225 if (this.group && this.group.type === 'path-group') {
15576 if (!(this.group && this.group.type === 'path-group')) {
16065 type: 'path-group',
16351 type: 'group',
16906 type: 'image',
17100 if (this.group && this.group.type === 'path-group') {
17213 if (!forResizing && filter && filter.type === 'Resize') {
17610 type: 'BaseFilter',
17637 return { type: this.type };
17679 type: 'Brightness',
17790 type: 'Convolute',
17938 type: 'GradientTransparency',
18017 type: 'Grayscale',
18080 type: 'Invert',
18137 type: 'Mask',
18250 type: 'Noise',
18337 type: 'Pixelate',
18450 type: 'RemoveWhite',
18547 type: 'Sepia',
18607 type: 'Sepia2',
18682 type: 'Tint',
18793 type: 'Multiply',
18879 type: 'Blend',
19026 type: 'Resize',
19303 type: this.type,
19533 type: 'text',
20102 if (this.group && this.group.type === 'path-group') {
20156 textLeft: textLeft + (this.group && this.group.type === 'path-group' ? this.left : 0),
20157 textTop: textTop + (this.group && this.group.type === 'path-group' ? -this.top : 0),
20446 type: 'i-text',
23237 type: 'text'