4D-SVG

SVG_SET_SATURATION

SVG_SET_SATURATION ( svgObject ; saturation )

Parameter Type   Description
svgObject SVG_Ref SVG object reference
saturation Longint Saturation value

Description

The SVG_SET_SATURATION method sets a saturation value for the SVG element designated by the svgObject parameter. svgObject must be an SVG container (svg, group, symbol, pattern, marker, etc.) or an image; otherwise, an error is returned.

In the saturation parameter, you pass a value between 0 and 100

See also

SVG_SET_HUE