4D v14SVG_Filter_Offset |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14
SVG_Filter_Offset
SVG_Filter_Offset
The SVG_Filter_Offset command sets an offset for the filterRef filter and returns its reference. If filterRef is not a filter reference, an error is generated. The dx parameter is the value of the horizontal offset. The optional dy parameter is the value of the vertical offset. The optional input parameter identifies the graphic source of the filter primitive. You can pass:
The optional name is the name, if any, assigned to the result of this filter primitive. Note: Under Windows, this command requires the prior disabling of Direct2D (see the Direct2D disabled constant in the description of the SET DATABASE PARAMETER command). In a form, we display two identical SVG pictures then we create an "offset" filter and assign to the one on the right: $root:=SVG_New(400;400;"filters test") //definition of first (left) picture Result: |
PROPERTIES
Product: 4D
HISTORY
Created: Composant 4D SVG v11.3 SEE ALSO
SVG_Filter_Blend ARTICLE USAGE
4D SVG Component ( 4D v13) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||