Skip to content

SVG

A

A(*children, **kwargs)

Bases: CaseTag

Defines an SVG hyperlink

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

Animate

Animate(*children, **kwargs)

Bases: CaseTag

Defines animation on an SVG element

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

AnimateMotion

AnimateMotion(*children, **kwargs)

Bases: CaseTag

Defines how an element moves along a motion path

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

AnimateTransform

AnimateTransform(*children, **kwargs)

Bases: CaseTag

Animates transform attributes on an element

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

Circle

Circle(*children, **kwargs)

Bases: CaseTag

Defines a circle

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

ClipPath

ClipPath(*children, **kwargs)

Bases: CaseTag

Defines a clipping path

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

Defs

Defs(*children, **kwargs)

Bases: CaseTag

Defines reusable objects

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

Desc

Desc(*children, **kwargs)

Bases: CaseTag

Defines a description of an element

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

Ellipse

Ellipse(*children, **kwargs)

Bases: CaseTag

Defines an ellipse

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

FeBlend

FeBlend(*children, **kwargs)

Bases: CaseTag

Defines image blending

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

FeColorMatrix

FeColorMatrix(*children, **kwargs)

Bases: CaseTag

Applies a matrix transformation on color values

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

FeComponentTransfer

FeComponentTransfer(*children, **kwargs)

Bases: CaseTag

Performs component-wise remapping of data

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

FeComposite

FeComposite(*children, **kwargs)

Bases: CaseTag

Performs image compositing

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

FeConvolveMatrix

FeConvolveMatrix(*children, **kwargs)

Bases: CaseTag

Applies a matrix convolution filter

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

FeDiffuseLighting

FeDiffuseLighting(*children, **kwargs)

Bases: CaseTag

Lights an image using diffuse lighting

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

FeDisplacementMap

FeDisplacementMap(*children, **kwargs)

Bases: CaseTag

Displaces an image using another image

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

FeDistantLight

FeDistantLight(*children, **kwargs)

Bases: CaseTag

Defines a distant light source

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

FeDropShadow

FeDropShadow(*children, **kwargs)

Bases: CaseTag

Creates a drop shadow effect

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

FeFlood

FeFlood(*children, **kwargs)

Bases: CaseTag

Fills the filter region with a color

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

FeFuncA

FeFuncA(*children, **kwargs)

Bases: CaseTag

Defines the alpha transfer function

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

FeFuncB

FeFuncB(*children, **kwargs)

Bases: CaseTag

Defines the blue transfer function

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

FeFuncG

FeFuncG(*children, **kwargs)

Bases: CaseTag

Defines the green transfer function

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

FeFuncR

FeFuncR(*children, **kwargs)

Bases: CaseTag

Defines the red transfer function

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

FeGaussianBlur

FeGaussianBlur(*children, **kwargs)

Bases: CaseTag

Applies Gaussian blur to an image

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

FeImage

FeImage(*children, **kwargs)

Bases: CaseTag

Refers to an external image

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

FeMerge

FeMerge(*children, **kwargs)

Bases: CaseTag

Merges multiple filter nodes

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

FeMergeNode

FeMergeNode(*children, **kwargs)

Bases: CaseTag

Defines a node for feMerge

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

FeMorphology

FeMorphology(*children, **kwargs)

Bases: CaseTag

Applies morphological operations

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

FeOffset

FeOffset(*children, **kwargs)

Bases: CaseTag

Offsets an image

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

FePointLight

FePointLight(*children, **kwargs)

Bases: CaseTag

Defines a point light source

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

FeSpecularLighting

FeSpecularLighting(*children, **kwargs)

Bases: CaseTag

Lights an image using specular lighting

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

FeSpotLight

FeSpotLight(*children, **kwargs)

Bases: CaseTag

Defines a spot light source

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

FeTile

FeTile(*children, **kwargs)

Bases: CaseTag

Tiles an image to fill a rectangle

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

FeTurbulence

FeTurbulence(*children, **kwargs)

Bases: CaseTag

Creates turbulence noise

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

Filter

Filter(*children, **kwargs)

Bases: CaseTag

Defines a filter effect

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

ForeignObject

ForeignObject(*children, **kwargs)

Bases: CaseTag

Allows inclusion of foreign XML

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

G

G(*children, **kwargs)

Bases: CaseTag

Groups SVG elements

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

Image

Image(*children, **kwargs)

Bases: CaseTag

Embeds an image

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

Line

Line(*children, **kwargs)

Bases: CaseTag

Defines a line

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

LinearGradient

LinearGradient(*children, **kwargs)

Bases: CaseTag

Defines a linear gradient

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

Marker

Marker(*children, **kwargs)

Bases: CaseTag

Defines a graphic for drawing on lines

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

Mask

Mask(*children, **kwargs)

Bases: CaseTag

Defines a mask

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

Metadata

Metadata(*children, **kwargs)

Bases: CaseTag

Defines metadata

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

Mpath

Mpath(*children, **kwargs)

Bases: CaseTag

Defines a motion path

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

Path

Path(*children, **kwargs)

Bases: CaseTag

Defines a path

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

Pattern

Pattern(*children, **kwargs)

Bases: CaseTag

Defines a pattern

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

Polygon

Polygon(*children, **kwargs)

Bases: CaseTag

Defines a polygon

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

Polyline

Polyline(*children, **kwargs)

Bases: CaseTag

Defines a polyline

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

RadialGradient

RadialGradient(*children, **kwargs)

Bases: CaseTag

Defines a radial gradient

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

Rect

Rect(*children, **kwargs)

Bases: CaseTag

Defines a rectangle

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

Script

Script(*children, **kwargs)

Bases: CaseTag

Defines a script

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

Set

Set(*children, **kwargs)

Bases: CaseTag

Sets an attribute value

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

Stop

Stop(*children, **kwargs)

Bases: CaseTag

Defines a gradient stop

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

Style

Style(*children, **kwargs)

Bases: CaseTag

Defines style information

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

Svg

Svg(*children, **kwargs)

Bases: CaseTag

Defines an SVG document fragment

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

Switch

Switch(*children, **kwargs)

Bases: CaseTag

Defines conditional processing

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

Symbol

Symbol(*children, **kwargs)

Bases: CaseTag

Defines a reusable symbol

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

Text

Text(*children, **kwargs)

Bases: CaseTag

Defines text content

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

TextPath

TextPath(*children, **kwargs)

Bases: CaseTag

Defines text along a path

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

Title

Title(*children, **kwargs)

Bases: CaseTag

Defines a title for the SVG document

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

Tspan

Tspan(*children, **kwargs)

Bases: CaseTag

Defines a text span

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

Use

Use(*children, **kwargs)

Bases: CaseTag

References another element

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs

View

View(*children, **kwargs)

Bases: CaseTag

Defines a view

Source code in src/air/tags.py
70
71
72
73
74
75
76
77
def __init__(self, *children, **kwargs):
    """Sets four attributes, name, module, children, and attrs.
    These are important for Starlette view responses, as nested objects
    get auto-serialized to JSON and need to be rebuilt. Without
    the values of these attributes, the object reconstruction can't occur"""
    self._name = self.__class__.__name__
    self._module = self.__class__.__module__
    self._children, self._attrs = children, kwargs