4D v19SVG_SET_TRANSFORM_FLIP | 
            ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
                 
                
  | 
                
			
                    
                         
    4D v19
 
SVG_SET_TRANSFORM_FLIP 
                                
                                
        
 | 
                |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SVG_SET_TRANSFORM_FLIP ( svgObject ; Horizontal {; Vertikal} ) | ||||||||
| Parameter | Typ | Beschreibung | ||||||
| svgObject | SVG_Ref | 
             
         | 
        Reference of SVG element | |||||
| Horizontal | Boolean | 
             
         | 
        Horizontal flip | |||||
| Vertikal | Boolean | 
             
         | 
        Vertical flip | |||||
The SVG_SET_TRANSFORM_FLIP command can be used to apply a horizontal and/or vertical flip to an SVG object having the svgObject reference.
If the horizontal parameter is set to True, a horizontal flip is applied.
If the vertical parameter is set to True, a vertical flip is applied.
Flipping of a text object:
 svgRef:=SVG_New
 SVG_SET_VIEWBOX(svgRef;0;0;400;200)
 $tx:=SVG_New_text(svgRef;"4D";10;0;"";96)
 SVG_SET_FONT_COLOR($tx;"blue") `Change the color
  
  `Effect:
 $tx:=SVG_New_text(svgRef;"4D";10;0;"";96) `Take the same text
 SVG_SET_FONT_COLOR($tx;"lightblue") ` Change the color
 SVG_SET_TRANSFORM_FLIP($tx;True) `Apply a vertical flip
 SVG_SET_TRANSFORM_SKEW($tx;-10) `Incline
 SVG_SET_TRANSFORM_TRANSLATE($tx;-17;-193) `Reposition
	Produkt: 4D
	Thema: Attributes
	Nummer: 
        65949
        
        
        
	
	Erstellt: Composant 4D SVG v11.3
	4D SVG ( 4D v19)
	
	
	
	
	
	
	
	
	
	
	
	
Fehler melden