

‘ rect’ Categories: Graphics element, renderable element, shape element Content model: Any number of the following elements, in any order:

Non-zero values for the rx and ry geometric properties. Rounded rectangles can be achieved by setting 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,.

