ICanvasRenderingContext2DClip Method (CanvasFillRule) |
Creates a new clipping region by calculating the intersection of the current clipping region and the area described by the path, using the non-zero winding number rule.
Open subpaths must be implicitly closed when computing the clipping region, without affecting the actual subpaths.
The new clipping region replaces the current clipping region.
Namespace: Aspose.Html.Dom.CanvasAssembly: Aspose.HTML (in Aspose.HTML.dll) Version: 20.3
Syntaxvoid Clip(
CanvasFillRule fillRule
)
Sub Clip (
fillRule As CanvasFillRule
)
void Clip(
CanvasFillRule fillRule
)
abstract Clip :
fillRule : CanvasFillRule -> unit
Parameters
- 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