This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v19
SVG_FADE_TO_GREY_SCALE
|
SVG_FADE_TO_GREY_SCALE ( svgObject {; value} ) | ||||||||
Parameter | Type | Description | ||||||
svgObject | SVG_Ref |
![]() |
SVG object reference | |||||
value | Real |
![]() |
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).
Product: 4D
Theme: Colors and Gradients
Number:
705085
Created: Composant 4D SVG v14 R2
Created: 4D v14
4D SVG Component ( 4D v19)