mirror of
https://github.com/xuxiaobo-bobo/boda_jsEnv.git
synced 2025-04-23 08:29:24 +08:00
11 lines
2.1 KiB
JavaScript
11 lines
2.1 KiB
JavaScript
// SVGGeometryElement对象
|
|
bodavm.memory.globalobj['SVGGeometryElement'] = function SVGGeometryElement(){this._boisinit=bodavm.config.isinit;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');
|