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

preserveAlpha property

Indicates that the convolution will apply to all channels or just the color channels.

This property is read-only.

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

Syntax

JavaScript
boolean = object.preserveAlpha

Property values

Type: SVGAnimatedBoolean

One of the following:

ValueCondition
false
false

Indicates that the convolution will apply to all channels, including the alpha channel.

true
true

Indicates that the convolution will apply only to the color channels. In this case, the filter will temporarily un-premultiply the color component values, apply the kernel, and then re-premultiply at the end.

 

Standards information

Remarks

If preserveAlpha is not specified, then the effect is as if a value of false were specified.

See also

SVGFEConvolveMatrixElement

 

 

Show:
© 2014 Microsoft