boda_jsEnv/env_xbb_lastest_bo/env/SVGGraphicsElement.js
xuxiaobo-bobo 24cbc7a3fa '0711'
2023-07-11 15:19:33 +08:00

87 lines
3.1 KiB
JavaScript

// SVGGraphicsElement对象
SVGGraphicsElement = function SVGGraphicsElement() {
let arg = arguments[0];
if (arg != 'bobo' && (this instanceof SVGGraphicsElement)) {
return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor");
}
;
bodavm.toolsFunc.symbolProperty(this);
if (arg != 'bobo') {
console.log_copy('SVGGraphicsElement 实例化对象 --->', JSON.stringify_bo(arguments, function (k, v) {
if (v == window) {
return 'window';
} else {
return v;
}
}));
}
;
};
bodavm.toolsFunc.safeProto(SVGGraphicsElement, "SVGGraphicsElement");
SVGGraphicsElement.prototype.__proto__ = SVGElement.prototype;
SVGGraphicsElement.__proto__ = SVGElement;
bodavm.toolsFunc.defineProperty(SVGGraphicsElement.prototype, "transform", {
configurable: true,
enumerable: true,
get: function transform() {
return bodavm.toolsFunc.dispatch(this, SVGGraphicsElement.prototype, "SVGGraphicsElement", "transform_get", arguments);
},
set: undefined
});
bodavm.toolsFunc.defineProperty(SVGGraphicsElement.prototype, "nearestViewportElement", {
configurable: true,
enumerable: true,
get: function nearestViewportElement() {
return bodavm.toolsFunc.dispatch(this, SVGGraphicsElement.prototype, "SVGGraphicsElement", "nearestViewportElement_get", arguments);
},
set: undefined
});
bodavm.toolsFunc.defineProperty(SVGGraphicsElement.prototype, "farthestViewportElement", {
configurable: true,
enumerable: true,
get: function farthestViewportElement() {
return bodavm.toolsFunc.dispatch(this, SVGGraphicsElement.prototype, "SVGGraphicsElement", "farthestViewportElement_get", arguments);
},
set: undefined
});
bodavm.toolsFunc.defineProperty(SVGGraphicsElement.prototype, "requiredExtensions", {
configurable: true,
enumerable: true,
get: function requiredExtensions() {
return bodavm.toolsFunc.dispatch(this, SVGGraphicsElement.prototype, "SVGGraphicsElement", "requiredExtensions_get", arguments);
},
set: undefined
});
bodavm.toolsFunc.defineProperty(SVGGraphicsElement.prototype, "systemLanguage", {
configurable: true,
enumerable: true,
get: function systemLanguage() {
return bodavm.toolsFunc.dispatch(this, SVGGraphicsElement.prototype, "SVGGraphicsElement", "systemLanguage_get", arguments);
},
set: undefined
});
bodavm.toolsFunc.defineProperty(SVGGraphicsElement.prototype, "getBBox", {
configurable: true,
enumerable: true,
writable: true,
value: function getBBox() {
return bodavm.toolsFunc.dispatch(this, SVGGraphicsElement.prototype, "SVGGraphicsElement", "getBBox", arguments);
}
});
bodavm.toolsFunc.defineProperty(SVGGraphicsElement.prototype, "getCTM", {
configurable: true,
enumerable: true,
writable: true,
value: function getCTM() {
return bodavm.toolsFunc.dispatch(this, SVGGraphicsElement.prototype, "SVGGraphicsElement", "getCTM", arguments);
}
});
bodavm.toolsFunc.defineProperty(SVGGraphicsElement.prototype, "getScreenCTM", {
configurable: true,
enumerable: true,
writable: true,
value: function getScreenCTM() {
return bodavm.toolsFunc.dispatch(this, SVGGraphicsElement.prototype, "SVGGraphicsElement", "getScreenCTM", arguments);
}
});