Compartilhar via


preserveAlpha property

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

This property is read-only.

 

Syntax

HRESULT get_preserveAlpha(
  [out] SVGAnimatedBoolean **boolean
);

Property values

Type: SVGAnimatedBoolean

One of the following:

Value Condition
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 ISVGFEConvolveMatrixElement::preserveAlpha is not specified, then the effect is as if a value of false were specified.