


The ‘ rect’ element defines a rectangle which is axis-aligned The equivalent path and algorithm to compute the stroke for each shapeĪre defined in the shape sections below. Properties available for ‘ path’ elements also apply to the basic Shapes may be stroked, filled and used as clip paths. ‘ path’ element that would construct the same shape. Mathematically, these shape elements are equivalent to a polygons, created with the ‘ polygon’ element.polylines, created with the ‘ polyline’ element, and.straight lines, created with the ‘ line’ element,.ellipses, created with the ‘ ellipse’ element,.circles, created with the ‘ circle’ element,.rectangles (including optional rounded corners), created with the ‘ rect’ element,.SVG contains the following set of basic shape elements: ‘ circle’, ‘ ellipse’, ‘ line’, ‘ path’, ‘ polygon’, ‘ polyline’ and ‘ rect’.

Introduction and definitions basic shape shape shape elements A graphics element that is defined by some combination of
