4D v16SVG_Filter_Blur |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16
SVG_Filter_Blur
SVG_Filter_Blur
The SVG_Filter_Blur command sets a Gaussian blur for the filterRef filter and returns its reference. If filterRef is not a filter reference, an error is generated. The deviation parameter can be used to set the standard deviation for the blur operation. If the number is an integer, the same deviation will be applied to the X and Y axes. If the number includes a decimal part, the integer part represents the deviation to be applied to the X axis and the decimal part represents the deviation to be applied to the Y axis. The optional input parameter identifies the graphic source of the filter primitive. You can pass:
The optional name parameter is the name, if any, assigned to the result of this filter primitive. Note: Starting with 4D v14 R5, this command works under Windows with Direct2D enabled in software mode (see the Direct2D software constant in the description of the SET DATABASE PARAMETER command). In a form, we display two identical SVG pictures then we create a "blur" filter and assign to the one on the right: $root:=SVG_New(400;400;"filters test") //definition of first (left) picture Result (input = sourceGraphic): Result (input = sourceAlpha):
See also
|
PROPERTIES
Product: 4D HISTORY
Created: Composant 4D SVG v11.3 ARTICLE USAGE
4D SVG Component ( 4D v16) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||