Railo 4.2 Reference
Choose a function:

Function IMAGESETDRAWINGCOLOR

Sets the current drawing color for images. All subsequent graphics operations use the specified color.

Example

imagesetdrawingcolor(any name,string color):void

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
name any  Yes The image on which this operation is performed.  
color string  Yes Drawing color (The default value is "black"):
  • Hexadecimal value of RGB color. For example, specify the color white as ##FFFFFF or FFFFFF.
  • String value of color (for example, "black", "red", "green").
  • List of three numbers for (R,G,B) values. Each value must be in the range 0-255.