poly

abstract fun poly(polygon: Polygon, fill: Paint)

Fills a polygon.

Parameters

polygon

to draw

fill

to fill with


abstract fun poly(polygon: Polygon, stroke: Stroke, fill: Paint? = null)

Fills and outlines a polygon.

Parameters

polygon

to draw

stroke

to outline with

fill

to fill with