SVGComponentTransferFunctionElement
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
TheSVGComponentTransferFunctionElement interface represents a base interface used by the component transfer function interfaces.
In this article
Instance properties
This interface also inherits properties from its parent interface,SVGElement.
SVGComponentTransferFunctionElement.typeRead onlyAn
SVGAnimatedEnumerationcorresponding to thetypeattribute of the given element. It takes one of theSVG_FECOMPONENTTRANSFER_TYPE_*constants defined on this interface.SVGComponentTransferFunctionElement.tableValuesRead onlyAn
SVGAnimatedNumberListcorresponding to thetableValuesattribute of the given element.SVGComponentTransferFunctionElement.slopeRead onlyAn
SVGAnimatedNumbercorresponding to theslopeattribute of the given element.SVGComponentTransferFunctionElement.interceptRead onlyAn
SVGAnimatedNumbercorresponding to theinterceptattribute of the given element.SVGComponentTransferFunctionElement.amplitudeRead onlyAn
SVGAnimatedNumbercorresponding to theamplitudeattribute of the given element.SVGComponentTransferFunctionElement.exponentRead onlyAn
SVGAnimatedNumbercorresponding to theexponentattribute of the given element.SVGComponentTransferFunctionElement.offsetRead onlyAn
SVGAnimatedNumbercorresponding to theoffsetattribute of the given element.
Instance methods
This interface does not provide any specific methods, but implements those of its parent,SVGElement.
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.SVG_FECOMPONENTTRANSFER_TYPE_TABLE(2)Corresponds to the value
table.SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE(3)Corresponds to the value
discrete.SVG_FECOMPONENTTRANSFER_TYPE_LINEAR(4)Corresponds to the value
linear.SVG_FECOMPONENTTRANSFER_TYPE_GAMMA(5)Corresponds to the value
gamma.
Specifications
| Specification |
|---|
| Filter Effects Module Level 1> # InterfaceSVGComponentTransferFunctionElement> |