Skip to main content

Harshal V. LADHE

Understanding SVG Fill Rules: nonzero vs. evenodd

A technical breakdown of the fill-rule property, explaining how the 'nonzero' and 'evenodd' algorithms determine the interior area of complex, self-intersecting paths.

2 posts

Posts tagged fill-rule

  • SVG Essentials: Mastering the Path Element

    Understand SVG paths, curves, and commands
    A complete guide to the SVG path element — path commands, coordinates, bézier curves, arcs, compound paths and fill-rule, pathLength-based line-draw animation, CSS's path() function, stroke rendering, and the shorthand tricks behind exported path data.
    Published at:
    Categories:SVG
    Estimated reading time:20 min read
  • SVG Polygon vs Polyline: Differences, Fill Rules, and Use Cases

    Master SVG polygons, polylines, and fill rules.
    Learn the difference between SVG polygon and polyline: points syntax, fill-rule, accessibility, and real use cases like charts, icons, and UI shapes.
    Published at:
    Categories:SVG
    Estimated reading time:14 min read