render.rect(x, y, w, h, col [, rounding, thickness, corners]) | | Outlined rectangle |
render.rect_filled(x, y, w, h, col [, rounding, corners]) | | Filled rectangle |
render.rect_filled_multicolor(x, y, w, h, tl, tr, br, bl) | | Four-corner gradient rectangle |
render.gradient(x, y, w, h, col1, col2 [, horizontal]) | | Two-color gradient |
render.line(x1, y1, x2, y2, col [, thickness]) | | Line segment |
render.circle(x, y, r, col [, segments, thickness]) | | Outlined circle |
render.circle_filled(x, y, r, col [, segments]) | | Filled circle |
render.circle_gradient(x, y, r, inner, outer [, segments]) | | Radial gradient circle |
render.triangle_filled(x1, y1, x2, y2, x3, y3, col) | | Filled triangle |
render.triangle_multicolor(x1, y1, c1, x2, y2, c2, x3, y3, c3) | | Per-vertex colored triangle |
render.poly(points, col [, thickness, closed]) | | Polyline from {{x,y}, ...} |
render.poly_filled(points, col) | | Filled convex polygon |
render.shadow(x, y, w, h, col [, size, rounding]) | | Drop shadow |
render.pie(x, y, r, fill, col [, segments, start_deg]) | | Pie/arc fill. fill is 0..1 |
render.arc(x, y, r, from_deg, to_deg, col [, thickness, segments]) | | Arc stroke |
render.blur(x, y, w, h [, rounding, tint]) | | Blurred backdrop. Returns bool |