4D v14

SVG_FADE_TO_GREY_SCALE

Home

 
4D v14
SVG_FADE_TO_GREY_SCALE

SVG_FADE_TO_GREY_SCALE 


 

SVG_FADE_TO_GREY_SCALE ( svgObject {; value} ) 
Parameter Type   Description
svgObject  SVG_Ref in SVG object reference
value  Real in Grey value

The SVG_FADE_TO_GREY_SCALE command applies a filter to transform the gray scale for an SVG image whose reference is passed in the svgObject parameter.

You can pass the gray scale value to be applied in the optional value parameter. If you do not pass this parameter, the transformation is in accordance with the visual perception of the luminance (30% red, 59% green and 11% blue).

 
PROPERTIES 

Product: 4D
Theme: Colors and Gradients
Number: 705085

 
HISTORY 

New

Created: 4D v14

 
ARTICLE USAGE

4D SVG Component ( 4D v14)