ICanvasRenderingContext2DFill Method (Path2D, CanvasFillRule) |
Fills the subpaths with the current fill style.
Namespace: Aspose.Html.Dom.CanvasAssembly: Aspose.HTML (in Aspose.HTML.dll) Version: 20.3
Syntaxvoid Fill(
Path2D path,
CanvasFillRule fillRule
)
Sub Fill (
path As Path2D,
fillRule As CanvasFillRule
)
void Fill(
Path2D^ path,
CanvasFillRule fillRule
)
abstract Fill :
path : Path2D *
fillRule : CanvasFillRule -> unit
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