4D v16SVG_Filter_Blend |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16
SVG_Filter_Blend
SVG_Filter_Blend
The SVG_Filter_Blend command sets a blend filter for the filterRef filter and returns its reference. If filterRef is not a filter reference, an error is generated. This filter is made up of two sources, backgroundPict and picture, with the help of the mixing modes currently used by the imaging software. The optional mode parameter can be used to set the combination mode of the pixels used for the blend (see the specification). Its value must be: "normal" (default value), "multiply", "screen", "darken" or "lighten". 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 "blend" filter and assign to the one on the right. This filter is a combination of the "offset" and "blur" filters: $root:=SVG_New(400;400;"filters test") //definition of first (left) picture Result (blur input filter = sourceGraphic): Result (blur input filter = sourceAlpha):
Siehe auch
|
EIGENSCHAFTEN
Produkt: 4D GESCHICHTE
Erstellt: Composant 4D SVG v11.3 ARTIKELVERWENDUNG
4D SVG ( 4D v16) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||