Dies ist die alte 4D Dokumentations-Website. Die neue und aktualisierte Dokumentation finden Sie unter developer.4d.com

Home

 
4D v20 R7
SVG_SET_OPACITY

SVG_SET_OPACITY 


 

SVG_SET_OPACITY ( svgObject ; background {; Linie} ) 
Parameter Typ   Beschreibung
svgObject  SVG_Ref in Reference of SVG element
background  Lange Ganzzahl in Opacity (%)
Linie  Lange Ganzzahl in Opacity (%)

The SVG_SET_OPACITY command can be used to set the opacity of the filling and the line of the object having the svgObject reference. If these attributes already exist, their values are replaced by those passed as parameters.

The values expected must be included between 0 and 100.

 $svg :=SVG_New ` Create a new document
 $object:=SVG_New_rect($svg ;10;10;200;100;0;0;"red";"blue")
 SVG_SET_OPACITY($object;-1;50) `Set the line opacity to 50%



Siehe auch 

SVG Colors

 
EIGENSCHAFTEN 

Produkt: 4D
Thema: Attributes
Nummer: 65934

Dieser Befehl kann in preemptive Prozessen laufen

 
SEITENINHALT 
 
GESCHICHTE 

Erstellt: Composant 4D SVG v11.3

 
ARTIKELVERWENDUNG

4D SVG ( 4D v20 R7)