a
b
c
cx
cy
d
dx
dy
e
f
fx
fy
id
in1
in2
k1
k2
k3
k4
r1
r2
x
x1
x2
y
y1
y2
z
Expand Minimize

type property

The type of component transfer function. The function type determines the applicability of the other attributes.

This property is read-only.

Scalable Vector Graphics: Filter Effects, Section 15.11Internet Explorer 10

Syntax

JavaScript
ptr = object.type

Property values

Type: SVGAnimatedEnumeration

One of the following values:

ValueCondition
identity

Same as input.

table

The function is defined by linear interpolation between values given in the attribute tableValues. The table has n+1 values (that is, v0 to vn) specifying the start and end values for n evenly sized interpolation regions. See the Remarks section.

discrete

The function is defined by the step function given in the attribute tableValues, which provides a list of n values (that is, v0 to vn-1) in order to identify a step function consisting of n steps. Seethe Remarks section.

linear

The function is defined by the following linear equation: C' = slope * C + intercept

gamma

The function is defined by the following exponential function: C' = amplitude * pow(C, exponent) + offset

 

String format

identity | table | discrete | linear | gamma

Standards information

Remarks

For a type of table and a value C < 1, find k such that:

k/n <= C < (k+1)/n

The result C' is given by:

C' = vk + (C - k/n)*n * (vk+1 - vk)

If C = 1 then:

C' = vn

For a type of discrete and a value C < 1 find k such that:

k/n <= C < (k+1)/n

The result C' is given by:

C' = vk

If C = 1 then:

C' = vn-1

See also

SVGComponentTransferFunctionElement
SVGFEFuncAElement
SVGFEFuncBElement
SVGFEFuncGElement
SVGFEFuncRElement

 

 

Show:
© 2014 Microsoft