SVGComponentTransferFunctionElement
The SVGComponentTransferFunctionElement
interface defines a base interface used by the component transfer function interfaces.
Constants
Name | Value | Description |
---|---|---|
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 . |
Instance properties
This interface also inherits properties from its parent interface, SVGElement
.
SVGComponentTransferFunctionElement.type
Read only-
An
SVGAnimatedEnumeration
corresponding to thetype
attribute of the given element. It takes one of theSVG_FECOMPONENTTRANSFER_TYPE_*
constants defined on this interface. SVGComponentTransferFunctionElement.tableValues
Read only-
An
SVGAnimatedNumberList
corresponding to thetableValues
attribute of the given element. SVGComponentTransferFunctionElement.slope
Read only-
An
SVGAnimatedNumber
corresponding to theslope
attribute of the given element. SVGComponentTransferFunctionElement.intercept
Read only-
An
SVGAnimatedNumber
corresponding to theintercept
attribute of the given element. SVGComponentTransferFunctionElement.amplitude
Read only-
An
SVGAnimatedNumber
corresponding to theamplitude
attribute of the given element. SVGComponentTransferFunctionElement.exponent
Read only-
An
SVGAnimatedNumber
corresponding to theexponent
attribute of the given element. SVGComponentTransferFunctionElement.offset
Read only-
An
SVGAnimatedNumber
corresponding to theoffset
attribute of the given element.
Instance methods
This interface does not provide any specific methods, but implements those of its parent, SVGElement
.
Specifications
Specification |
---|
Filter Effects Module Level 1 # InterfaceSVGComponentTransferFunctionElement |
Browser compatibility
BCD tables only load in the browser