| 4D v20SVG_New_arc | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 
 | 
    4D v20
 SVG_New_arc 
         | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SVG_New_arc ( parentSVGObject ; x ; y ; radius ; start ; end {; foregroundColor {; backgroundColor {; strokeWidth}}} ) -> Funktionsergebnis | ||||||||
| Parameter | Typ | Beschreibung | ||||||
| parentSVGObject | SVG_Ref |   | Reference of parent element | |||||
| x | Lange Ganzzahl |   | Coordinate on center X axis | |||||
| y | Lange Ganzzahl |   | Coordinate on center Y axis | |||||
| radius | Lange Ganzzahl |   | Radius of circle | |||||
| start | Lange Ganzzahl |   | Value in degrees of start of arc | |||||
| end | Lange Ganzzahl |   | Value in degrees of end of arc | |||||
| foregroundColor | String |   | Color or gradient name | |||||
| backgroundColor | String |   | Color or gradient name | |||||
| strokeWidth | Zahl |   | Line thickness | |||||
| Funktionsergebnis | SVG_Ref |   | Reference of arc | |||||
The SVG_New_arc command creates a new circle arc in the SVG container designated by parentSVGObject and returns its reference. If parentSVGObject is not an SVG document, an error is generated.
The optional foregroundColor and backgroundColor parameters contain, respectively, the name of the line color and of the background color. (For more information about colors, please refer to the commands of the Colors and Gradients theme).
The optional strokeWidth parameter contains the size of the pen expressed in pixels. Its default value is 1.
Draw an arc from 0° to 90° (default fill and border color, default line thickness):
 svgRef:=SVG_New
 objectRef:=SVG_New_arc(svgRef;100;100;90;90;180)Draw the arc from 90° to 180° of a light blue circle with a blue edge and a 2-point link thickness:
 svgRef:=SVG_New
 objectRef:=SVG_New_arc(svgRef;100;100;90;180;270;"blue";"lightblue";2)
	Produkt: 4D
	Thema: Drawing
	Nummer: 
        65975
        
        
        
	
	Geändert: Composant 4D SVG v11.4
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	4D SVG ( 4D v20)
	
	
 Fehler melden
Fehler melden