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

ImageSetDrawingColor( name, color )

Returns: void

Argument Description
any, required

The image on which this operation is performed.

string, required

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.


There are currently no examples for this function.

See also