CanvasFillRule Enum
CanvasFillRule enumeration
This enumeration is used to select the fill rule algorithm by which to determine if a point is inside or outside a path.
public enum CanvasFillRule
Values
Name | Value | Description |
---|---|---|
NonZero | 0 | The value “nonzero” value indicates the non-zero winding rule, wherein a point is considered to be outside a shape if the number of times a half-infinite straight line drawn from that point crosses the shape’s path going in one direction is equal to the number of times it crosses the path going in the other direction. |
EvenOdd | 1 | The “evenodd” value indicates the even-odd rule, wherein a point is considered to be outside a shape if the number of times a half-infinite straight line drawn from that point crosses the shape’s path is even. |
See Also
- package com.aspose.html.Dom.Canvas
- package Aspose.HTML