SvgVoid
API reference › HTML SVG › Tag › SvgVoid
Represents SVG void (self-closing) element names as enum cases.
Provides the literal tag names for SVG void elements as backed string enum cases.
See also: https://developer.mozilla.org/en-US/docs/Web/SVG/Element (BackedEnum for backed enum behavior.).
| Case | Value | Description |
|---|---|---|
CIRCLE | 'circle' | <circle> - Draws a circle based on a center point and radius. |
ELLIPSE | 'ellipse' | <ellipse> - Draws an ellipse based on a center point and two radii. |
IMAGE | 'image' | <image> - Embeds bitmap images. |
LINE | 'line' | <line> - Draws a straight line between two points. |
PATH | 'path' | <path> - Draws a path using commands. |
POLYGON | 'polygon' | <polygon> - Draws a closed shape with straight lines. |
POLYLINE | 'polyline' | <polyline> - Draws a series of connected straight lines. |
RECT | 'rect' | <rect> - Draws a rectangle. |
STOP | 'stop' | <stop> - Gradient stop element. |
USES | 'use' | <use> - Reuses an existing SVG element. |