Skip to content
PHP Ecosystem
Explore

SvgBlock

API reference › HTML SVG › Tag › SvgBlock

enumUIAwesome\Html\Svg\Tag\SvgBlock
Backed bystring
Sourcesrc/Tag/SvgBlock.php

Represents SVG block-level element names as enum cases.

Provides the literal tag names for block-level SVG elements as backed string enum cases.

See also: https://developer.mozilla.org/en-US/docs/Web/SVG/Element (BackedEnum for backed enum behavior.).

CaseValueDescription
CLIP_PATH'clipPath'<clipPath> - Defines a clipping path.
DEFS'defs'<defs> - Container for elements not rendered directly.
FILTER'filter'<filter> - Container for filter effects.
FOREIGN_OBJECT'foreignObject'<foreignObject> - Renders foreign content (such as XHTML).
G'g'<g> - Groups SVG shapes together.
LINEAR_GRADIENT'linearGradient'<linearGradient> - Defines a linear gradient.
MARKER'marker'<marker> - Defines a marker for paths.
MASK'mask'<mask> - Container for masking content.
PATTERN'pattern'<pattern> - Defines a pattern.
RADIAL_GRADIENT'radialGradient'<radialGradient> - Radial gradient definition.
SVG'svg'<svg> - Root container for SVG graphics.
SYMBOL'symbol'<symbol> - Reusable symbol definition.
TEXT'text'<text> - SVG text content element.