Skip to main content

Harshal V. LADHE

SVG Basic Shapes and Geometric Primitives

A comprehensive look at SVG's built-in shape elements, including rectangles, circles, ellipses, and lines, for building structured graphics without complex paths.

Content tagged shapes

  • Tutorial:Squircles, Bevels and Scoops with corner-shape

    Shape corners into squircles, bevels, scoops and notches.
    The corner-shape property gives border-radius corners a shape — round, squircle, square, bevel, scoop, notch or any superellipse() — with borders, shadows and outlines that follow it, per-corner values, smooth animation, and an automatic rounded fallback in browsers without support.
    Published at:
    Categories:CSS
    Estimated reading time:5 min read
  • Post:SVG Polygon vs Polyline: Differences, Fill Rules, and Use Cases

    Same points, open or closed: fill rules, miters, sparklines.
    The difference between SVG polygon and polyline: fill rules by ray-crossing, stroke-miterlimit, generated points, sparklines, animation and accessible charts.
    Published at:
    Categories:SVG
    Estimated reading time:29 min read