Sets/ returns the style of the
opacity filter. There are 4 opacity styles in total, each with
additional corresponding attributes to fine tune the effect. Default
value is 0.

Valid values:

Value

description

0 (uniform/default)

Applies the Opacity value evenly across
the object. Default setting.

1 (linear opacity)

Applies an even opacity gradient beginning with
the Opacity value on a line from StartX to
StartY and ending with the FinishOpacity value ending
on a line from FinishX to FinishY.

2 (radial opacity)

Applies an even opacity gradient beginning in
the center with the Opacity value and ending at the
middle of the sides of the object with the FinishOpacity
value. The corners of the object are not affected by the opacity
gradient.

3 (rectangular opacity)

Applies an even opacity gradient beginning at
the sides of the object with the Opacity value and ending
at the center of the object with the FinishOpacity value.

Depending on the style value set, additional attributes
(highlighted above in bold) can be added on top of it to customize
the effect.

Sets/ returns the horizontal positions in which the gradient
starts and ends. The valid range of values are from 0-100,
translating into a percentage coordinate relative to the width of
the entire element.

Valid values: 0-100 (percentage
implied)

Note:This attribute is
applicable only when style is set to 1 (linear).

finishX, finishY

Sets/ returns the vertical positions in which the gradient
starts and ends. The valid range of values are from 0-100,
translating into a percentage coordinate relative to the width of
the entire element.

Valid values: 0-100 (percentage
implied)

Note:This attribute is
applicable only when style is set to 1 (linear).