fill method

void fill([
  1. JSAny fillRuleOrPath,
  2. CanvasFillRule fillRule
])

The CanvasRenderingContext2D.fill() method of the Canvas 2D API fills the current or given path with the current CanvasRenderingContext2D.fillStyle.

Implementation

external void fill([
  JSAny fillRuleOrPath,
  CanvasFillRule fillRule,
]);