Draw_ellipse_color - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
NOTOC {{-}} This function is part of the function set Drawing shapes
Notation
Description
Draw an ellipse using a gradient of the colors col1 and col2 from (x1, y1) to (x2, y2). If outline is true the ellipse is not filled in.
Parameters
- (x1, y1) is the starting point where the ellipse is drawn, typically the top left corner
- (x2, y2) is the ending point of the ellipse, typically the bottom right corner
- col1 is the color at the center of the ellipse.
- col2 is the color at the outer edges of the ellipse.
- outline indicates whether to only draw the outline (true) or fill the ellipse (false).
Return Values
none
Example Call
draw_ellipse_color(100, 100, 132, 116, c_red, c_blue, false);