canvas2d_draw_path
canvas2d_draw_path(vertices, ctx, [fillColor], [strokeColor], [highlight_vertices], [vertex_draw_size], [offset])
Kind: global function
Param | Type | Description |
---|---|---|
vertices | Array.<number> | |
ctx | CanvasRenderingContext2D | |
[fillColor] | ||
[strokeColor] | ||
[highlight_vertices] | ||
[vertex_draw_size] | ||
[offset] | number | in pixels |