# Do not edit by hand; this file is generated by ./scripts/generate_tags.py
# fmt: off
"""
Functions for creating SVG tags.
"""
from __future__ import annotations
from ._core import Tag, TagAttrs, TagAttrValue, TagChild
def a(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = False, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/a
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("a", *args, _add_ws=_add_ws, **kwargs)
def animate(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/animate
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("animate", *args, _add_ws=_add_ws, **kwargs)
def animateMotion(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/animateMotion
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("animateMotion", *args, _add_ws=_add_ws, **kwargs)
def animateTransform(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/animateTransform
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("animateTransform", *args, _add_ws=_add_ws, **kwargs)
def circle(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/circle
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("circle", *args, _add_ws=_add_ws, **kwargs)
def clipPath(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/clipPath
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("clipPath", *args, _add_ws=_add_ws, **kwargs)
def defs(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/defs
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("defs", *args, _add_ws=_add_ws, **kwargs)
def desc(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/desc
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("desc", *args, _add_ws=_add_ws, **kwargs)
def discard(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/discard
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("discard", *args, _add_ws=_add_ws, **kwargs)
def ellipse(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/ellipse
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("ellipse", *args, _add_ws=_add_ws, **kwargs)
def feBlend(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feBlend
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("feBlend", *args, _add_ws=_add_ws, **kwargs)
def feColorMatrix(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feColorMatrix
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("feColorMatrix", *args, _add_ws=_add_ws, **kwargs)
def feComponentTransfer(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feComponentTransfer
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("feComponentTransfer", *args, _add_ws=_add_ws, **kwargs)
def feComposite(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feComposite
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("feComposite", *args, _add_ws=_add_ws, **kwargs)
def feConvolveMatrix(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feConvolveMatrix
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("feConvolveMatrix", *args, _add_ws=_add_ws, **kwargs)
def feDiffuseLighting(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feDiffuseLighting
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("feDiffuseLighting", *args, _add_ws=_add_ws, **kwargs)
def feDisplacementMap(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feDisplacementMap
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("feDisplacementMap", *args, _add_ws=_add_ws, **kwargs)
def feDistantLight(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feDistantLight
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("feDistantLight", *args, _add_ws=_add_ws, **kwargs)
def feDropShadow(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feDropShadow
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("feDropShadow", *args, _add_ws=_add_ws, **kwargs)
def feFlood(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFlood
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("feFlood", *args, _add_ws=_add_ws, **kwargs)
def feFuncA(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFuncA
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("feFuncA", *args, _add_ws=_add_ws, **kwargs)
def feFuncB(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFuncB
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("feFuncB", *args, _add_ws=_add_ws, **kwargs)
def feFuncG(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFuncG
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("feFuncG", *args, _add_ws=_add_ws, **kwargs)
def feFuncR(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFuncR
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("feFuncR", *args, _add_ws=_add_ws, **kwargs)
def feGaussianBlur(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feGaussianBlur
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("feGaussianBlur", *args, _add_ws=_add_ws, **kwargs)
def feImage(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feImage
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("feImage", *args, _add_ws=_add_ws, **kwargs)
def feMerge(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feMerge
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("feMerge", *args, _add_ws=_add_ws, **kwargs)
def feMergeNode(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feMergeNode
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("feMergeNode", *args, _add_ws=_add_ws, **kwargs)
def feMorphology(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feMorphology
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("feMorphology", *args, _add_ws=_add_ws, **kwargs)
def feOffset(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feOffset
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("feOffset", *args, _add_ws=_add_ws, **kwargs)
def fePointLight(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/fePointLight
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("fePointLight", *args, _add_ws=_add_ws, **kwargs)
def feSpecularLighting(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feSpecularLighting
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("feSpecularLighting", *args, _add_ws=_add_ws, **kwargs)
def feSpotLight(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feSpotLight
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("feSpotLight", *args, _add_ws=_add_ws, **kwargs)
def feTile(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feTile
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("feTile", *args, _add_ws=_add_ws, **kwargs)
def feTurbulence(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feTurbulence
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("feTurbulence", *args, _add_ws=_add_ws, **kwargs)
def filter(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/filter
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("filter", *args, _add_ws=_add_ws, **kwargs)
def foreignObject(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/foreignObject
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("foreignObject", *args, _add_ws=_add_ws, **kwargs)
def g(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/g
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("g", *args, _add_ws=_add_ws, **kwargs)
def hatch(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/hatch
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("hatch", *args, _add_ws=_add_ws, **kwargs)
def hatchpath(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/hatchpath
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("hatchpath", *args, _add_ws=_add_ws, **kwargs)
def image(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("image", *args, _add_ws=_add_ws, **kwargs)
def line(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/line
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("line", *args, _add_ws=_add_ws, **kwargs)
def linearGradient(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/linearGradient
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("linearGradient", *args, _add_ws=_add_ws, **kwargs)
def marker(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/marker
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("marker", *args, _add_ws=_add_ws, **kwargs)
def mask(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/mask
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("mask", *args, _add_ws=_add_ws, **kwargs)
def metadata(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/metadata
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("metadata", *args, _add_ws=_add_ws, **kwargs)
def mpath(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/mpath
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("mpath", *args, _add_ws=_add_ws, **kwargs)
def path(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/path
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("path", *args, _add_ws=_add_ws, **kwargs)
def pattern(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/pattern
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("pattern", *args, _add_ws=_add_ws, **kwargs)
def polygon(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/polygon
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("polygon", *args, _add_ws=_add_ws, **kwargs)
def polyline(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/polyline
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("polyline", *args, _add_ws=_add_ws, **kwargs)
def radialGradient(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/radialGradient
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("radialGradient", *args, _add_ws=_add_ws, **kwargs)
def rect(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `` tag.
Creates the `` SVG element. Learn more at https://developer.mozilla.org/en-US/docs/Web/SVG/Element/rect
Parameters
----------
*args
Child elements to this tag.
_add_ws
A bool indicating whether whitespace should be added around this tag.
**kwargs
Attributes to this tag.
Returns
-------
:
A :class:`~htmltools.Tag` object.
See Also
--------
* :class:`~htmltools.Tag`
"""
return Tag("rect", *args, _add_ws=_add_ws, **kwargs)
def script(*args: TagChild | TagAttrs, _add_ws: TagAttrValue = True, **kwargs: TagAttrValue) -> Tag:
"""
Create a `