ICanvasRenderingContext2DFill Method (Path2D, CanvasFillRule)
Fills the subpaths with the current fill style.

Namespace: Aspose.Html.Dom.Canvas
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 20.3
Syntax
void Fill(
	Path2D path,
	CanvasFillRule fillRule
)

Parameters

path
Type: Aspose.Html.Dom.CanvasPath2D
A Path2D path to fill.
fillRule
Type: Aspose.Html.Dom.CanvasCanvasFillRule
The algorithm by which to determine if a point is inside a path or outside a path.
See Also