FillRule
API reference › HTML SVG › Values › FillRule
Represents literal string values for the SVG fill-rule attribute.
Provides the keyword values used by the fill-rule attribute.
See also: Circle::fillRule(), Ellipse::fillRule(), G::fillRule(), Line::fillRule(), Path::fillRule(), Polygon::fillRule(), Polyline::fillRule(), Rect::fillRule(), Text::fillRule().
| Case | Value | Description |
|---|---|---|
EVENODD | 'evenodd' | evenodd - This value determines the “insideness” of a point on the canvas by drawing a ray from that point to infinity in any direction and counting the number of path segments from the given shape that the ray crosses. |
NONZERO | 'nonzero' | nonzero - This value determines the “insideness” of a point on the canvas by drawing a ray from that point to infinity in any direction and counting the number of path segments from the given shape that the ray crosses. |