SVGComponentTransferFunctionElement

Nos bénévoles n'ont pas encore traduit cet article en Français. Inscrivez-vous et aidez-nous à réaliser cette tâche !
Vous pouvez également lire cet article en English (US).

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.

Properties

This interface also inherits properties from its parent interface, SVGElement.

SVGComponentTransferFunctionElement.type Read only
An SVGAnimatedEnumeration corresponding to the type attribute of the given element. It takes one of the SVG_FECOMPONENTTRANSFER_TYPE_* constants defined on this interface.
SVGComponentTransferFunctionElement.tableValues Read only
An SVGAnimatedNumberList corresponding to the tableValues attribute of the given element.
SVGComponentTransferFunctionElement.slope Read only
An SVGAnimatedNumber corresponding to the slope attribute of the given element.
SVGComponentTransferFunctionElement.intercept Read only
An SVGAnimatedNumber corresponding to the intercept attribute of the given element.
SVGComponentTransferFunctionElement.amplitude Read only
An SVGAnimatedNumber corresponding to the amplitude attribute of the given element.
SVGComponentTransferFunctionElement.exponent Read only
An SVGAnimatedNumber corresponding to the exponent attribute of the given element.
SVGComponentTransferFunctionElement.offset Read only
An SVGAnimatedNumber corresponding to the offset attribute of the given element.

Methods

This interface does not provide any specific methods, but implements those of its parent, SVGElement.

Specifications

Specification Status Comment
Filter Effects Module Level 1
The definition of 'SVGComponentTransferFunctionElement' in that specification.
Working Draft No change
Scalable Vector Graphics (SVG) 1.1 (Second Edition)
The definition of 'SVGComponentTransferFunctionElement' in that specification.
Recommendation Initial definition

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
SVGComponentTransferFunctionElementChrome Full support YesEdge Full support YesFirefox Full support YesIE ? Opera Full support YesSafari Full support YesWebView Android Full support YesChrome Android Full support YesFirefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android ?

Legend

Full support  
Full support
Compatibility unknown  
Compatibility unknown

See also

Étiquettes et contributeurs liés au document

Contributeurs à cette page : mdnwebdocs-bot, fscholz, Sebastianz
Dernière mise à jour par : mdnwebdocs-bot,