Dies ist die alte 4D Dokumentations-Website. Die neue und aktualisierte Dokumentation finden Sie unter developer.4d.com |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20 R7
SVG_SET_FILL_BRUSH
|
SVG_SET_FILL_BRUSH ( svgObject ; color ) | ||||||||
Parameter | Typ | Beschreibung | ||||||
svgObject | SVG_Ref |
![]() |
Reference of SVG element | |||||
color | String |
![]() |
Color expression | |||||
The SVG_SET_FILL_BRUSH command can be used to set the fill color for the SVG object having the svgObject reference. If this attribute already exists, its value is replaced by the value passed in the parameter.
For more information about colors, please refer to the “SVG Colors” section.
$svg:=SVG_New
$object:=SVG_New_rect($svg;10;10;200;200;0;0;"black";"white";2)
SVG_SET_FILL_BRUSH($object;"blue")
Produkt: 4D
Thema: Attributes
Nummer:
65940
Erstellt: Composant 4D SVG v11.3
4D SVG ( 4D v20 R7)