SVG
The SVGComponentTransferFunctionElement interface represents a base interface used by the component transfer function interfaces.
Static properties
SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN(0)- : The type is not one of predefined types. It is invalid to attempt to define a new value of this type or to attempt to switch an existing value to this type.
SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY(1)- : Corresponds to the value
identity.
- : Corresponds to the value
SVG_FECOMPONENTTRANSFER_TYPE_TABLE(2)- : Corresponds to the value
table.
- : Corresponds to the value
SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE(3)- : Corresponds to the value
discrete.
- : Corresponds to the value
SVG_FECOMPONENTTRANSFER_TYPE_LINEAR(4)- : Corresponds to the value
linear.
- : Corresponds to the value
SVG_FECOMPONENTTRANSFER_TYPE_GAMMA(5)- : Corresponds to the value
gamma.
- : Corresponds to the value
Instance properties
This interface also inherits properties from its parent interface, SVGElement.
- SVGComponentTransferFunctionElement.type
- : An SVGAnimatedEnumeration corresponding to the type attribute of the given element. It takes one of the
SVG_FECOMPONENTTRANSFER_TYPE_*constants defined on this interface.
- : An SVGAnimatedEnumeration corresponding to the type attribute of the given element. It takes one of the
- SVGComponentTransferFunctionElement.tableValues
- : An SVGAnimatedNumberList corresponding to the tableValues attribute of the given element.
- SVGComponentTransferFunctionElement.slope
- : An SVGAnimatedNumber corresponding to the slope attribute of the given element.
- SVGComponentTransferFunctionElement.intercept
- : An SVGAnimatedNumber corresponding to the intercept attribute of the given element.
- SVGComponentTransferFunctionElement.amplitude
- : An SVGAnimatedNumber corresponding to the amplitude attribute of the given element.
- SVGComponentTransferFunctionElement.exponent
- : An SVGAnimatedNumber corresponding to the exponent attribute of the given element.
- SVGComponentTransferFunctionElement.offset
- : An SVGAnimatedNumber corresponding to the offset attribute of the given element.
Instance methods
This interface does not provide any specific methods, but implements those of its parent, SVGElement.
Specifications
Browser compatibility
See also
- SVGFEFuncAElement
- SVGFEFuncBElement
- SVGFEFuncGElement
- SVGFEFuncRElement
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
