Draw_set_color_rgba - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

Notation

Description

Change the color that is used for drawing basic shapes and such. Unless you want all the lines you draw the same color (black by default), you'll probably want to use this.

Parameters

  • r: red
  • g: green
  • b: blue
  • a: alpha

Return Values

none This function has no return values.

Example Call

See Also

  • Returns a color based on the arguments.

  • Returns a color based on the arguments.

  • Sets the drawing color using RGB value RGB. Its the same as doing draw_set_color(make_color_rgb(red, green, blue))

  • Same as draw_set_color_rgb, but this one also allows for alpha.

NOTOC