-
Notifications
You must be signed in to change notification settings - Fork 0
Draw_ellipse_color
hugh greene edited this page Jun 20, 2022
·
1 revision
NOTOC {{-}} This function is part of the function set Drawing shapes
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.
- (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).
none
draw_ellipse_color(100, 100, 132, 116, c_red, c_blue, false);
edited by hpg678 on Github