SVG Tags E-M
Air is proud to provide first class SVG support. The entire SVG specification is supported.
Ellipse
Ellipse(
*children,
cx=None,
cy=None,
rx=None,
ry=None,
pathLength=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: CaseTag
Defines an ellipse
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
cx
|
str | float | None
|
X-coordinate of center. |
None
|
cy
|
str | float | None
|
Y-coordinate of center. |
None
|
rx
|
str | float | None
|
Horizontal radius. |
None
|
ry
|
str | float | None
|
Vertical radius. |
None
|
pathLength
|
float | None
|
Total path length in user units. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
**kwargs
|
AttributeType
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
293 294 295 296 297 298 299 300 301 302 303 304 305 306 | |
FeBlend
FeBlend(
*children,
in_=None,
in2=None,
mode=None,
result=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: CaseTag
Defines image blending
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
in_
|
str | None
|
Input image reference. |
None
|
in2
|
str | None
|
Second input image reference. |
None
|
mode
|
str | None
|
Blending mode. |
None
|
result
|
str | None
|
Result identifier. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
**kwargs
|
AttributeType
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
324 325 326 327 328 329 330 331 332 333 334 335 336 | |
FeColorMatrix
FeColorMatrix(
*children,
in_=None,
type=None,
values=None,
result=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: CaseTag
Applies a matrix transformation on color values
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
in_
|
str | None
|
Input image reference. |
None
|
type
|
str | None
|
Matrix type (matrix|saturate|hueRotate|luminanceToAlpha). |
None
|
values
|
str | None
|
Matrix values. |
None
|
result
|
str | None
|
Result identifier. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
**kwargs
|
AttributeType
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
354 355 356 357 358 359 360 361 362 363 364 365 366 | |
FeComponentTransfer
FeComponentTransfer(
*children,
in_=None,
result=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: CaseTag
Performs component-wise remapping of data
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
in_
|
str | None
|
Input image reference. |
None
|
result
|
str | None
|
Result identifier. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
**kwargs
|
AttributeType
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
382 383 384 385 386 387 388 389 390 391 392 | |
FeComposite
FeComposite(
*children,
in_=None,
in2=None,
operator=None,
k1=None,
k2=None,
k3=None,
k4=None,
result=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: CaseTag
Performs image compositing
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
in_
|
str | None
|
Input image reference. |
None
|
in2
|
str | None
|
Second input image reference. |
None
|
operator
|
str | None
|
Compositing operation. |
None
|
k1
|
float | None
|
Coefficient for arithmetic operation. |
None
|
k2
|
float | None
|
Coefficient for arithmetic operation. |
None
|
k3
|
float | None
|
Coefficient for arithmetic operation. |
None
|
k4
|
float | None
|
Coefficient for arithmetic operation. |
None
|
result
|
str | None
|
Result identifier. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
**kwargs
|
AttributeType
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 | |
FeConvolveMatrix
FeConvolveMatrix(
*children,
in_=None,
order=None,
kernelMatrix=None,
divisor=None,
bias=None,
targetX=None,
targetY=None,
edgeMode=None,
preserveAlpha=None,
result=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: CaseTag
Applies a matrix convolution filter
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
in_
|
str | None
|
Input image reference. |
None
|
order
|
str | None
|
Matrix dimensions. |
None
|
kernelMatrix
|
str | None
|
Matrix values. |
None
|
divisor
|
float | None
|
Divisor for matrix sum. |
None
|
bias
|
float | None
|
Bias value. |
None
|
targetX
|
int | None
|
Target X position. |
None
|
targetY
|
int | None
|
Target Y position. |
None
|
edgeMode
|
str | None
|
Edge handling mode. |
None
|
preserveAlpha
|
str | None
|
Preserve alpha channel. |
None
|
result
|
str | None
|
Result identifier. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
**kwargs
|
AttributeType
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 | |
FeDiffuseLighting
FeDiffuseLighting(
*children,
in_=None,
surfaceScale=None,
diffuseConstant=None,
kernelUnitLength=None,
result=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: CaseTag
Lights an image using diffuse lighting
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
in_
|
str | None
|
Input image reference. |
None
|
surfaceScale
|
float | None
|
Surface height scale. |
None
|
diffuseConstant
|
float | None
|
Diffuse lighting constant. |
None
|
kernelUnitLength
|
str | None
|
Kernel unit length. |
None
|
result
|
str | None
|
Result identifier. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
**kwargs
|
AttributeType
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
491 492 493 494 495 496 497 498 499 500 501 502 503 504 | |
FeDisplacementMap
FeDisplacementMap(
*children,
in_=None,
in2=None,
scale=None,
xChannelSelector=None,
yChannelSelector=None,
result=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: CaseTag
Displaces an image using another image
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
in_
|
str | None
|
Input image reference. |
None
|
in2
|
str | None
|
Displacement map reference. |
None
|
scale
|
float | None
|
Displacement scale factor. |
None
|
xChannelSelector
|
str | None
|
X displacement channel (R|G|B|A). |
None
|
yChannelSelector
|
str | None
|
Y displacement channel (R|G|B|A). |
None
|
result
|
str | None
|
Result identifier. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
**kwargs
|
AttributeType
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 | |
FeDistantLight
FeDistantLight(
*children,
azimuth=None,
elevation=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: CaseTag
Defines a distant light source
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
azimuth
|
str | float | None
|
Direction angle on XY plane (degrees). |
None
|
elevation
|
str | float | None
|
Direction angle from XY plane to z-axis (degrees). |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
**kwargs
|
AttributeType
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
554 555 556 557 558 559 560 561 562 563 564 | |
FeDropShadow
FeDropShadow(
*children,
dx=None,
dy=None,
stdDeviation=None,
flood_color=None,
flood_opacity=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: CaseTag
Creates a drop shadow effect
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
dx
|
str | float | None
|
X offset of drop shadow. |
None
|
dy
|
str | float | None
|
Y offset of drop shadow. |
None
|
stdDeviation
|
str | float | None
|
Blur standard deviation. |
None
|
flood_color
|
str | None
|
Shadow color. |
None
|
flood_opacity
|
str | float | None
|
Shadow opacity. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
**kwargs
|
AttributeType
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
583 584 585 586 587 588 589 590 591 592 593 594 595 596 | |
FeFlood
FeFlood(
*children,
flood_color=None,
flood_opacity=None,
result=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: CaseTag
Fills the filter region with a color
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
flood_color
|
str | None
|
Fill color. |
None
|
flood_opacity
|
str | float | None
|
Fill opacity. |
None
|
result
|
str | None
|
Result identifier. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
**kwargs
|
AttributeType
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
613 614 615 616 617 618 619 620 621 622 623 624 | |
FeFuncA
FeFuncA(
*children,
type=None,
tableValues=None,
slope=None,
intercept=None,
amplitude=None,
exponent=None,
offset=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: CaseTag
Defines the alpha transfer function
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
type
|
str | None
|
Transfer function type. |
None
|
tableValues
|
str | None
|
Lookup table values. |
None
|
slope
|
float | None
|
Linear function slope. |
None
|
intercept
|
float | None
|
Linear function intercept. |
None
|
amplitude
|
float | None
|
Gamma function amplitude. |
None
|
exponent
|
float | None
|
Gamma function exponent. |
None
|
offset
|
float | None
|
Gamma function offset. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
**kwargs
|
AttributeType
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 | |
FeFuncB
FeFuncB(
*children,
type=None,
tableValues=None,
slope=None,
intercept=None,
amplitude=None,
exponent=None,
offset=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: CaseTag
Defines the blue transfer function
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
type
|
str | None
|
Transfer function type. |
None
|
tableValues
|
str | None
|
Lookup table values. |
None
|
slope
|
float | None
|
Linear function slope. |
None
|
intercept
|
float | None
|
Linear function intercept. |
None
|
amplitude
|
float | None
|
Gamma function amplitude. |
None
|
exponent
|
float | None
|
Gamma function exponent. |
None
|
offset
|
float | None
|
Gamma function offset. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
**kwargs
|
AttributeType
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 | |
FeFuncG
FeFuncG(
*children,
type=None,
tableValues=None,
slope=None,
intercept=None,
amplitude=None,
exponent=None,
offset=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: CaseTag
Defines the green transfer function
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
type
|
str | None
|
Transfer function type. |
None
|
tableValues
|
str | None
|
Lookup table values. |
None
|
slope
|
float | None
|
Linear function slope. |
None
|
intercept
|
float | None
|
Linear function intercept. |
None
|
amplitude
|
float | None
|
Gamma function amplitude. |
None
|
exponent
|
float | None
|
Gamma function exponent. |
None
|
offset
|
float | None
|
Gamma function offset. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
**kwargs
|
AttributeType
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 | |
FeFuncR
FeFuncR(
*children,
type=None,
tableValues=None,
slope=None,
intercept=None,
amplitude=None,
exponent=None,
offset=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: CaseTag
Defines the red transfer function
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
type
|
str | None
|
Transfer function type. |
None
|
tableValues
|
str | None
|
Lookup table values. |
None
|
slope
|
float | None
|
Linear function slope. |
None
|
intercept
|
float | None
|
Linear function intercept. |
None
|
amplitude
|
float | None
|
Gamma function amplitude. |
None
|
exponent
|
float | None
|
Gamma function exponent. |
None
|
offset
|
float | None
|
Gamma function offset. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
**kwargs
|
AttributeType
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 | |
FeGaussianBlur
FeGaussianBlur(
*children,
in_=None,
stdDeviation=None,
edgeMode=None,
result=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: CaseTag
Applies Gaussian blur to an image
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
in_
|
str | None
|
Input image reference. |
None
|
stdDeviation
|
str | float | None
|
Blur amount using bell-curve. |
None
|
edgeMode
|
str | None
|
Edge handling during blur. |
None
|
result
|
str | None
|
Result identifier. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
**kwargs
|
AttributeType
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
786 787 788 789 790 791 792 793 794 795 796 797 798 | |
FeImage
FeImage(
*children,
href=None,
preserveAspectRatio=None,
crossorigin=None,
result=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: CaseTag
Refers to an external image
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
href
|
str | None
|
URL to image file. |
None
|
preserveAspectRatio
|
str | None
|
Image scaling control. |
None
|
crossorigin
|
str | None
|
CORS credentials flag. |
None
|
result
|
str | None
|
Result identifier. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
**kwargs
|
AttributeType
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
816 817 818 819 820 821 822 823 824 825 826 827 828 | |
FeMerge
FeMerge(
*children,
result=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: CaseTag
Merges multiple filter nodes
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
result
|
str | None
|
Result identifier. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
**kwargs
|
AttributeType
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
843 844 845 846 847 848 849 850 851 852 | |
FeMergeNode
FeMergeNode(
*children,
in_=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: CaseTag
Defines a node for feMerge
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
in_
|
str | None
|
Input image reference. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
**kwargs
|
AttributeType
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
867 868 869 870 871 872 873 874 875 876 | |
FeMorphology
FeMorphology(
*children,
in_=None,
operator=None,
radius=None,
result=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: CaseTag
Applies morphological operations
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
in_
|
str | None
|
Input image reference. |
None
|
operator
|
str | None
|
Morphology operator (erode|dilate). |
None
|
radius
|
str | float | None
|
Morphology radius. |
None
|
result
|
str | None
|
Result identifier. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
**kwargs
|
AttributeType
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
894 895 896 897 898 899 900 901 902 903 904 905 906 | |
FeOffset
FeOffset(
*children,
in_=None,
dx=None,
dy=None,
result=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: CaseTag
Offsets an image
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
in_
|
str | None
|
Input graphic reference. |
None
|
dx
|
str | float | None
|
Horizontal offset distance. |
None
|
dy
|
str | float | None
|
Vertical offset distance. |
None
|
result
|
str | None
|
Result identifier. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
**kwargs
|
AttributeType
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
924 925 926 927 928 929 930 931 932 933 934 935 936 | |
FePointLight
FePointLight(
*children,
x=None,
y=None,
z=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: CaseTag
Defines a point light source
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
x
|
str | float | None
|
X-coordinate of light position. |
None
|
y
|
str | float | None
|
Y-coordinate of light position. |
None
|
z
|
str | float | None
|
Z-coordinate of light position. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
**kwargs
|
AttributeType
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
953 954 955 956 957 958 959 960 961 962 963 964 | |
FeSpecularLighting
FeSpecularLighting(
*children,
in_=None,
surfaceScale=None,
specularConstant=None,
specularExponent=None,
kernelUnitLength=None,
result=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: CaseTag
Lights an image using specular lighting
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
in_
|
str | None
|
Input image reference. |
None
|
surfaceScale
|
float | None
|
Surface height scale. |
None
|
specularConstant
|
float | None
|
Specular lighting constant. |
None
|
specularExponent
|
float | None
|
Specular lighting exponent. |
None
|
kernelUnitLength
|
str | None
|
Kernel unit length. |
None
|
result
|
str | None
|
Result identifier. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
**kwargs
|
AttributeType
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 | |
FeSpotLight
FeSpotLight(
*children,
x=None,
y=None,
z=None,
pointsAtX=None,
pointsAtY=None,
pointsAtZ=None,
specularExponent=None,
limitingConeAngle=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: CaseTag
Defines a spot light source
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
x
|
str | float | None
|
X-coordinate of light position. |
None
|
y
|
str | float | None
|
Y-coordinate of light position. |
None
|
z
|
str | float | None
|
Z-coordinate of light position. |
None
|
pointsAtX
|
str | float | None
|
X-coordinate of point light points at. |
None
|
pointsAtY
|
str | float | None
|
Y-coordinate of point light points at. |
None
|
pointsAtZ
|
str | float | None
|
Z-coordinate of point light points at. |
None
|
specularExponent
|
float | None
|
Focus control for light source. |
None
|
limitingConeAngle
|
float | None
|
Angle of spot light cone. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
**kwargs
|
AttributeType
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 | |
FeTile
FeTile(
*children,
in_=None,
result=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: CaseTag
Tiles an image to fill a rectangle
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
in_
|
str | None
|
Input image reference. |
None
|
result
|
str | None
|
Result identifier. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
**kwargs
|
AttributeType
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 | |
FeTurbulence
FeTurbulence(
*children,
baseFrequency=None,
numOctaves=None,
seed=None,
stitchTiles=None,
type=None,
result=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: CaseTag
Creates turbulence noise
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
baseFrequency
|
str | float | None
|
Base frequency for turbulence. |
None
|
numOctaves
|
int | None
|
Number of noise octaves. |
None
|
seed
|
float | None
|
Random seed for turbulence. |
None
|
stitchTiles
|
str | None
|
Tile stitching mode (stitch|noStitch). |
None
|
type
|
str | None
|
Turbulence type (fractalNoise|turbulence). |
None
|
result
|
str | None
|
Result identifier. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
**kwargs
|
AttributeType
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 | |
Filter
Filter(
*children,
x=None,
y=None,
width=None,
height=None,
filterUnits=None,
primitiveUnits=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: CaseTag
Defines a filter effect
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
x
|
str | float | None
|
X-coordinate of filter region. |
None
|
y
|
str | float | None
|
Y-coordinate of filter region. |
None
|
width
|
str | float | None
|
Width of filter region. |
None
|
height
|
str | float | None
|
Height of filter region. |
None
|
filterUnits
|
str | None
|
Coordinate system for position/size. |
None
|
primitiveUnits
|
str | None
|
Coordinate system for primitives. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
**kwargs
|
AttributeType
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 | |
ForeignObject
ForeignObject(
*children,
x=None,
y=None,
width=None,
height=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: CaseTag
Allows inclusion of foreign XML
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
x
|
str | float | None
|
X-coordinate. |
None
|
y
|
str | float | None
|
Y-coordinate. |
None
|
width
|
str | float | None
|
Width. |
None
|
height
|
str | float | None
|
Height. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
**kwargs
|
AttributeType
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 | |
G
G(*children, class_=None, id=None, style=None, **kwargs)
Bases: CaseTag
Groups SVG elements
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
**kwargs
|
AttributeType
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
1174 1175 1176 1177 1178 1179 1180 1181 1182 | |
Image
Image(
*children,
x=None,
y=None,
width=None,
height=None,
href=None,
preserveAspectRatio=None,
crossorigin=None,
decoding=None,
fetchpriority=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: CaseTag
Embeds an image
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
x
|
str | float | None
|
Horizontal position from origin. |
None
|
y
|
str | float | None
|
Vertical position from origin. |
None
|
width
|
str | float | None
|
Width (required). |
None
|
height
|
str | float | None
|
Height (required). |
None
|
href
|
str | None
|
URL to image file. |
None
|
preserveAspectRatio
|
str | None
|
Image scaling control. |
None
|
crossorigin
|
str | None
|
CORS credentials flag. |
None
|
decoding
|
str | None
|
Image decoding hint. |
None
|
fetchpriority
|
str | None
|
Fetch priority hint (experimental). |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
**kwargs
|
AttributeType
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 | |
Line
Line(
*children,
x1=None,
y1=None,
x2=None,
y2=None,
pathLength=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: CaseTag
Defines a line
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
x1
|
str | float | None
|
X-coordinate of start point. |
None
|
y1
|
str | float | None
|
Y-coordinate of start point. |
None
|
x2
|
str | float | None
|
X-coordinate of end point. |
None
|
y2
|
str | float | None
|
Y-coordinate of end point. |
None
|
pathLength
|
float | None
|
Total path length in user units. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
**kwargs
|
AttributeType
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 | |
LinearGradient
LinearGradient(
*children,
x1=None,
y1=None,
x2=None,
y2=None,
gradientUnits=None,
gradientTransform=None,
href=None,
spreadMethod=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: CaseTag
Defines a linear gradient
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
x1
|
str | float | None
|
X-coordinate of gradient start. |
None
|
y1
|
str | float | None
|
Y-coordinate of gradient start. |
None
|
x2
|
str | float | None
|
X-coordinate of gradient end. |
None
|
y2
|
str | float | None
|
Y-coordinate of gradient end. |
None
|
gradientUnits
|
str | None
|
Coordinate system. |
None
|
gradientTransform
|
str | None
|
Additional transformation. |
None
|
href
|
str | None
|
Reference to template gradient. |
None
|
spreadMethod
|
str | None
|
Gradient behavior outside bounds. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
**kwargs
|
AttributeType
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 | |
Marker
Marker(
*children,
markerWidth=None,
markerHeight=None,
markerUnits=None,
refX=None,
refY=None,
orient=None,
viewBox=None,
preserveAspectRatio=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: CaseTag
Defines a graphic for drawing on lines
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
markerWidth
|
str | float | None
|
Width of marker viewport. |
None
|
markerHeight
|
str | float | None
|
Height of marker viewport. |
None
|
markerUnits
|
str | None
|
Coordinate system. |
None
|
refX
|
str | float | None
|
X reference point. |
None
|
refY
|
str | float | None
|
Y reference point. |
None
|
orient
|
str | float | None
|
Marker orientation. |
None
|
viewBox
|
str | None
|
Viewport bounds. |
None
|
preserveAspectRatio
|
str | None
|
Aspect ratio handling. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
**kwargs
|
AttributeType
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 | |
Mask
Mask(
*children,
x=None,
y=None,
width=None,
height=None,
maskUnits=None,
maskContentUnits=None,
mask_type=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: CaseTag
Defines a mask
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
x
|
str | float | None
|
X-coordinate of top-left corner. |
None
|
y
|
str | float | None
|
Y-coordinate of top-left corner. |
None
|
width
|
str | float | None
|
Width of masking area. |
None
|
height
|
str | float | None
|
Height of masking area. |
None
|
maskUnits
|
str | None
|
Coordinate system for position/size. |
None
|
maskContentUnits
|
str | None
|
Coordinate system for contents. |
None
|
mask_type
|
str | None
|
Mask mode (alpha|luminance). |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
**kwargs
|
AttributeType
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 | |
Metadata
Metadata(
*children, class_=None, id=None, style=None, **kwargs
)
Bases: CaseTag
Defines metadata
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
**kwargs
|
AttributeType
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
1380 1381 1382 1383 1384 1385 1386 1387 1388 | |
Mpath
Mpath(
*children,
href=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: CaseTag
Defines a motion path
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
href
|
str | None
|
Reference to path element. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
**kwargs
|
AttributeType
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 | |