mirror of
https://github.com/xuxiaobo-bobo/boda_jsEnv.git
synced 2025-04-19 02:24:42 +08:00
160 lines
6.4 KiB
JavaScript
160 lines
6.4 KiB
JavaScript
// SVGComponentTransferFunctionElement对象
|
|
|
|
bodaEnv.memory.globlProtoObj["SVGComponentTransferFunctionElement"] = function SVGComponentTransferFunctionElement() {
|
|
let arg = arguments[0];
|
|
if (arg != 'bobo') {
|
|
bodaEnv.toolsFunc.console_copy('SVGComponentTransferFunctionElement 实例化对象 --->', bodaEnv.toolsFunc.stringify_bo(arguments, function (k, v) {
|
|
if (v == window) {
|
|
return 'window';
|
|
} else {
|
|
return v;
|
|
}
|
|
}));
|
|
}
|
|
;
|
|
};
|
|
bodaEnv.toolsFunc.safeProto(bodaEnv.memory.globlProtoObj["SVGComponentTransferFunctionElement"], "SVGComponentTransferFunctionElement");
|
|
bodaEnv.memory.globlProtoObj["SVGComponentTransferFunctionElement"].prototype.__proto__ = bodaEnv.memory.globlProtoObj["SVGElement"].prototype;
|
|
bodaEnv.memory.globlProtoObj["SVGComponentTransferFunctionElement"].__proto__ = bodaEnv.memory.globlProtoObj["SVGElement"];
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["SVGComponentTransferFunctionElement"], "SVG_FECOMPONENTTRANSFER_TYPE_GAMMA", {
|
|
configurable: false,
|
|
enumerable: true,
|
|
writable: false,
|
|
value: 5
|
|
});
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["SVGComponentTransferFunctionElement"], "SVG_FECOMPONENTTRANSFER_TYPE_LINEAR", {
|
|
configurable: false,
|
|
enumerable: true,
|
|
writable: false,
|
|
value: 4
|
|
});
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["SVGComponentTransferFunctionElement"], "SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE", {
|
|
configurable: false,
|
|
enumerable: true,
|
|
writable: false,
|
|
value: 3
|
|
});
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["SVGComponentTransferFunctionElement"], "SVG_FECOMPONENTTRANSFER_TYPE_TABLE", {
|
|
configurable: false,
|
|
enumerable: true,
|
|
writable: false,
|
|
value: 2
|
|
});
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["SVGComponentTransferFunctionElement"], "SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY", {
|
|
configurable: false,
|
|
enumerable: true,
|
|
writable: false,
|
|
value: 1
|
|
});
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["SVGComponentTransferFunctionElement"], "SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN", {
|
|
configurable: false,
|
|
enumerable: true,
|
|
writable: false,
|
|
value: 0
|
|
});
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["SVGComponentTransferFunctionElement"].prototype, "SVG_FECOMPONENTTRANSFER_TYPE_GAMMA", {
|
|
configurable: false,
|
|
enumerable: true,
|
|
writable: false,
|
|
value: 5
|
|
});
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["SVGComponentTransferFunctionElement"].prototype, "SVG_FECOMPONENTTRANSFER_TYPE_LINEAR", {
|
|
configurable: false,
|
|
enumerable: true,
|
|
writable: false,
|
|
value: 4
|
|
});
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["SVGComponentTransferFunctionElement"].prototype, "SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE", {
|
|
configurable: false,
|
|
enumerable: true,
|
|
writable: false,
|
|
value: 3
|
|
});
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["SVGComponentTransferFunctionElement"].prototype, "SVG_FECOMPONENTTRANSFER_TYPE_TABLE", {
|
|
configurable: false,
|
|
enumerable: true,
|
|
writable: false,
|
|
value: 2
|
|
});
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["SVGComponentTransferFunctionElement"].prototype, "SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY", {
|
|
configurable: false,
|
|
enumerable: true,
|
|
writable: false,
|
|
value: 1
|
|
});
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["SVGComponentTransferFunctionElement"].prototype, "SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN", {
|
|
configurable: false,
|
|
enumerable: true,
|
|
writable: false,
|
|
value: 0
|
|
});
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["SVGComponentTransferFunctionElement"].prototype, "type", {
|
|
configurable: true,
|
|
enumerable: true,
|
|
get: {
|
|
type() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["SVGComponentTransferFunctionElement"].prototype, "SVGComponentTransferFunctionElement", "type_get", arguments);
|
|
}
|
|
}.type,
|
|
set: undefined
|
|
});
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["SVGComponentTransferFunctionElement"].prototype, "tableValues", {
|
|
configurable: true,
|
|
enumerable: true,
|
|
get: {
|
|
tableValues() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["SVGComponentTransferFunctionElement"].prototype, "SVGComponentTransferFunctionElement", "tableValues_get", arguments);
|
|
}
|
|
}.tableValues,
|
|
set: undefined
|
|
});
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["SVGComponentTransferFunctionElement"].prototype, "slope", {
|
|
configurable: true,
|
|
enumerable: true,
|
|
get: {
|
|
slope() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["SVGComponentTransferFunctionElement"].prototype, "SVGComponentTransferFunctionElement", "slope_get", arguments);
|
|
}
|
|
}.slope,
|
|
set: undefined
|
|
});
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["SVGComponentTransferFunctionElement"].prototype, "intercept", {
|
|
configurable: true,
|
|
enumerable: true,
|
|
get: {
|
|
intercept() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["SVGComponentTransferFunctionElement"].prototype, "SVGComponentTransferFunctionElement", "intercept_get", arguments);
|
|
}
|
|
}.intercept,
|
|
set: undefined
|
|
});
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["SVGComponentTransferFunctionElement"].prototype, "amplitude", {
|
|
configurable: true,
|
|
enumerable: true,
|
|
get: {
|
|
amplitude() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["SVGComponentTransferFunctionElement"].prototype, "SVGComponentTransferFunctionElement", "amplitude_get", arguments);
|
|
}
|
|
}.amplitude,
|
|
set: undefined
|
|
});
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["SVGComponentTransferFunctionElement"].prototype, "exponent", {
|
|
configurable: true,
|
|
enumerable: true,
|
|
get: {
|
|
exponent() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["SVGComponentTransferFunctionElement"].prototype, "SVGComponentTransferFunctionElement", "exponent_get", arguments);
|
|
}
|
|
}.exponent,
|
|
set: undefined
|
|
});
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["SVGComponentTransferFunctionElement"].prototype, "offset", {
|
|
configurable: true,
|
|
enumerable: true,
|
|
get: {
|
|
offset() {
|
|
return bodaEnv.toolsFunc.dispatch(this, bodaEnv.memory.globlProtoObj["SVGComponentTransferFunctionElement"].prototype, "SVGComponentTransferFunctionElement", "offset_get", arguments);
|
|
}
|
|
}.offset,
|
|
set: undefined
|
|
}); |