Dies ist die alte 4D Dokumentations-Website. Die neue und aktualisierte Dokumentation finden Sie unter developer.4d.com |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20 R7
SVG_Color_RGB_from_CMYK
|
SVG_Color_RGB_from_CMYK ( cyan ; magenta ; yellow ; black {; format} ) -> Funktionsergebnis | ||||||||
Parameter | Typ | Beschreibung | ||||||
cyan | Lange Ganzzahl |
![]() |
Cyan value | |||||
magenta | Lange Ganzzahl |
![]() |
Magenta value | |||||
yellow | Lange Ganzzahl |
![]() |
Yellow value | |||||
black | Lange Ganzzahl |
![]() |
Black value | |||||
format | Lange Ganzzahl |
![]() |
Color format | |||||
Funktionsergebnis | Text |
![]() |
Color string | |||||
The SVG_Color_RGB_from_CMYK command returns a string expressing the color corresponding to the four color parameters, cyan, magenta, yellow and black, passed as arguments. The string returned is in the form "RGB(red,greeen,blue)" by default, the syntax recognized by SVG rendering engines.
cyan, magenta, yellow and black are longints included between 0 and 100%.
The optional format parameter is used to specify the desired format for the color string returned. The values are:
Value | Format |
1 (default) | rgb(r,g,b) |
2 | #rgb |
3 | #rrggbb |
4 | rgb(r%, g%, b%) |
Produkt: 4D
Thema: Colors and Gradients
Nummer:
65895
Erstellt: 4D v12
4D SVG ( 4D v20 R7)