path

inline fun Renderer.path(points: List<Point>, color: Color, fillRule: Renderer.FillRule? = null)

Fills a line path connecting the given points.

Parameters

points

list of points for the path

color

to fill with

fillRule

indicating how to fill the path


inline fun Renderer.path(path: Path, color: Color, fillRule: Renderer.FillRule? = null)

Fills a line path connecting the given points.

Parameters

path

to draw

color

to fill with

fillRule

indicating how to fill the path


inline fun Renderer.path(points: List<Point>, stroke: Stroke, color: Color, fillRule: Renderer.FillRule? = null)

Fills and outlines a line path connecting the given points.

Parameters

points

list of points for the path

stroke

to outline with

color

to fill with

fillRule

indicating how to fill the path


fun Renderer.path(path: Path, stroke: Stroke, color: Color, fillRule: Renderer.FillRule? = null)

Fills and outlines a line path connecting the given points.

Parameters

path

to draw

stroke

to use for outlining the path

color

to fill with

fillRule

indicating how to fill the path