poly

inline fun Renderer.poly(polygon: Polygon, color: Color)

Fills a polygon.

Parameters

polygon

to draw

color

to fill with


inline fun Renderer.poly(polygon: Polygon, stroke: Stroke, color: Color)

Fills and outlines a polygon.

Parameters

polygon

to draw

stroke

to outline with

color

to fill with