![]() |
VOOZH | about |
The shape-rendering attribute hints the renderer about the tradeoff's to be made while rendering shapes like paths, circles, or rectangles. It has effect only on the following elements: <circle>, <ellipse>, <line>, <path>, <polygon>, <polyline>, and <rect>.
Syntax:
shape-rendering = auto | optimizeSpeed | crispEdges | geometricPrecision
Attribute Values: The shape-rendering attribute accepts the values mentioned above and described below:
Example 1: Below examples illustrate the use of shape-rendering attribute using geometricPrecision attribute value.
Output:
👁 ImageExample 2: Below examples illustrate the use of shape-rendering attribute using crispEdges attribute value.
Output:
👁 Image