mirror of
https://github.com/xuxiaobo-bobo/boda_jsEnv.git
synced 2025-04-19 02:24:42 +08:00
54 lines
2.0 KiB
JavaScript
54 lines
2.0 KiB
JavaScript
// SVGFEFuncGElement对象
|
|
|
|
bodaEnv.memory.globlProtoObj["SVGFEFuncGElement"] = function SVGFEFuncGElement() {
|
|
let arg = arguments[0];
|
|
if (arg != 'bobo') {
|
|
bodaEnv.toolsFunc.console_copy('SVGFEFuncGElement 实例化对象 --->', bodaEnv.toolsFunc.stringify_bo(arguments, function (k, v) {
|
|
if (v == window) {
|
|
return 'window';
|
|
} else {
|
|
return v;
|
|
}
|
|
}));
|
|
}
|
|
;
|
|
};
|
|
bodaEnv.toolsFunc.safeProto(bodaEnv.memory.globlProtoObj["SVGFEFuncGElement"], "SVGFEFuncGElement");
|
|
bodaEnv.memory.globlProtoObj["SVGFEFuncGElement"].prototype.__proto__ = bodaEnv.memory.globlProtoObj["SVGComponentTransferFunctionElement"].prototype;
|
|
bodaEnv.memory.globlProtoObj["SVGFEFuncGElement"].__proto__ = bodaEnv.memory.globlProtoObj["SVGComponentTransferFunctionElement"];
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["SVGFEFuncGElement"], "SVG_FECOMPONENTTRANSFER_TYPE_GAMMA", {
|
|
configurable: false,
|
|
enumerable: true,
|
|
writable: false,
|
|
value: 5
|
|
});
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["SVGFEFuncGElement"], "SVG_FECOMPONENTTRANSFER_TYPE_LINEAR", {
|
|
configurable: false,
|
|
enumerable: true,
|
|
writable: false,
|
|
value: 4
|
|
});
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["SVGFEFuncGElement"], "SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE", {
|
|
configurable: false,
|
|
enumerable: true,
|
|
writable: false,
|
|
value: 3
|
|
});
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["SVGFEFuncGElement"], "SVG_FECOMPONENTTRANSFER_TYPE_TABLE", {
|
|
configurable: false,
|
|
enumerable: true,
|
|
writable: false,
|
|
value: 2
|
|
});
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["SVGFEFuncGElement"], "SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY", {
|
|
configurable: false,
|
|
enumerable: true,
|
|
writable: false,
|
|
value: 1
|
|
});
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["SVGFEFuncGElement"], "SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN", {
|
|
configurable: false,
|
|
enumerable: true,
|
|
writable: false,
|
|
value: 0
|
|
}); |