Dies ist die alte 4D Dokumentations-Website. Die neue und aktualisierte Dokumentation finden Sie unter developer.4d.com |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20 R7
SVG_Get_named_color_value
|
SVG_Get_named_color_value ( colorName {; rgbComponent} ) -> Funktionsergebnis | ||||||||
Parameter | Typ | Beschreibung | ||||||
colorName | Text |
![]() |
SVG color name | |||||
rgbComponent | Text |
![]() |
"R", "G" or "B" to indicate color component | |||||
Funktionsergebnis | Lange Ganzzahl |
![]() |
Returns color value | |||||
The SVG_Get_named_color_value command returns the value of the SVG color whose name is specified in the colorName parameter.
In the optional rgbComponent parameter, you can pass either "R" (red), "G" (green) or "B" (blue) to indicate the specific color component for which you want to get the value. If you do not pass this parameter, the command returns the (complete) long color value.
Produkt: 4D
Thema: Colors and Gradients
Erstellt: 4D v14
4D SVG ( 4D v20 R7)