4D v16

SVG_Get_named_color_value

Home

 
4D v16
SVG_Get_named_color_value

SVG_Get_named_color_value 


 

SVG_Get_named_color_value ( colorName {; rgbComponent} ) -> Function result 
Parameter Type   Description
colorName  Text in SVG color name
rgbComponent  Text in "R", "G" or "B" to indicate color component
Function result  Longint in 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.

 
PROPERTIES 

Product: 4D
Theme: Colors and Gradients

 
HISTORY 

Created: 4D v14

 
ARTICLE USAGE

4D SVG Component ( 4D v16)