boda_jsEnv/env_xbb_lastest_jsdom/env/SVGGeometryElement.js
xuxiaobo-bobo 28c0fc3999 '0218'
2023-02-18 03:07:48 +08:00

11 lines
2.0 KiB
JavaScript

// SVGGeometryElement对象
bodavm.memory.globalobj['SVGGeometryElement'] = function SVGGeometryElement(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['SVGGeometryElement'], "SVGGeometryElement");
bodavm.memory.globalobj['SVGGeometryElement'].prototype.__proto__=bodavm.memory.globalobj['SVGGraphicsElement'].prototype;
bodavm.memory.globalobj['SVGGeometryElement'].__proto__=bodavm.memory.globalobj['SVGGraphicsElement'];
bodavm.toolsFunc.defineProperty('SVGGeometryElement', "pathLength", {configurable:true, enumerable:true, get:function pathLength (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['SVGGeometryElement'].prototype, "SVGGeometryElement", "pathLength_get", arguments)}, set:undefined},'prototype');
bodavm.toolsFunc.defineProperty('SVGGeometryElement', "getPointAtLength", {configurable:true, enumerable:true, writable:true, value:function getPointAtLength (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['SVGGeometryElement'].prototype, "SVGGeometryElement", "getPointAtLength", arguments)}},'prototype');
bodavm.toolsFunc.defineProperty('SVGGeometryElement', "getTotalLength", {configurable:true, enumerable:true, writable:true, value:function getTotalLength (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['SVGGeometryElement'].prototype, "SVGGeometryElement", "getTotalLength", arguments)}},'prototype');
bodavm.toolsFunc.defineProperty('SVGGeometryElement', "isPointInFill", {configurable:true, enumerable:true, writable:true, value:function isPointInFill (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['SVGGeometryElement'].prototype, "SVGGeometryElement", "isPointInFill", arguments)}},'prototype');
bodavm.toolsFunc.defineProperty('SVGGeometryElement', "isPointInStroke", {configurable:true, enumerable:true, writable:true, value:function isPointInStroke (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['SVGGeometryElement'].prototype, "SVGGeometryElement", "isPointInStroke", arguments)}},'prototype');