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
|
Any
|
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
|
str | int | float | bool
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
287 288 289 290 291 292 293 294 295 296 297 298 299 300 |
|
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
|
Any
|
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
|
str | int | float | bool
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
318 319 320 321 322 323 324 325 326 327 328 329 330 |
|
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
|
Any
|
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
|
str | int | float | bool
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
348 349 350 351 352 353 354 355 356 357 358 359 360 |
|
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
|
Any
|
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
|
str | int | float | bool
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
376 377 378 379 380 381 382 383 384 385 386 |
|
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
|
Any
|
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
|
str | int | float | bool
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 |
|
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
|
Any
|
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
|
str | int | float | bool
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 |
|
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
|
Any
|
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
|
str | int | float | bool
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
485 486 487 488 489 490 491 492 493 494 495 496 497 498 |
|
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
|
Any
|
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
|
str | int | float | bool
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 |
|
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
|
Any
|
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
|
str | int | float | bool
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
548 549 550 551 552 553 554 555 556 557 558 |
|
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
|
Any
|
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
|
str | int | float | bool
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
577 578 579 580 581 582 583 584 585 586 587 588 589 590 |
|
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
|
Any
|
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
|
str | int | float | bool
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
607 608 609 610 611 612 613 614 615 616 617 618 |
|
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
|
Any
|
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
|
str | int | float | bool
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 |
|
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
|
Any
|
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
|
str | int | float | bool
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 |
|
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
|
Any
|
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
|
str | int | float | bool
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 |
|
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
|
Any
|
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
|
str | int | float | bool
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 |
|
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
|
Any
|
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
|
str | int | float | bool
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
780 781 782 783 784 785 786 787 788 789 790 791 792 |
|
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
|
Any
|
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
|
str | int | float | bool
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
810 811 812 813 814 815 816 817 818 819 820 821 822 |
|
FeMerge
FeMerge(
*children,
result=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: CaseTag
Merges multiple filter nodes
Parameters:
Name | Type | Description | Default |
---|---|---|---|
children
|
Any
|
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
|
str | int | float | bool
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
837 838 839 840 841 842 843 844 845 846 |
|
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
|
Any
|
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
|
str | int | float | bool
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
861 862 863 864 865 866 867 868 869 870 |
|
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
|
Any
|
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
|
str | int | float | bool
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
888 889 890 891 892 893 894 895 896 897 898 899 900 |
|
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
|
Any
|
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
|
str | int | float | bool
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
918 919 920 921 922 923 924 925 926 927 928 929 930 |
|
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
|
Any
|
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
|
str | int | float | bool
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
947 948 949 950 951 952 953 954 955 956 957 958 |
|
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
|
Any
|
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
|
str | int | float | bool
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 |
|
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
|
Any
|
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
|
str | int | float | bool
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 |
|
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
|
Any
|
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
|
str | int | float | bool
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 |
|
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
|
Any
|
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
|
str | int | float | bool
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 |
|
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
|
Any
|
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
|
str | int | float | bool
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 |
|
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
|
Any
|
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
|
str | int | float | bool
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 |
|
G
G(*children, class_=None, id=None, style=None, **kwargs)
Bases: CaseTag
Groups SVG elements
Parameters:
Name | Type | Description | Default |
---|---|---|---|
children
|
Any
|
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
|
str | int | float | bool
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
1168 1169 1170 1171 1172 1173 1174 1175 1176 |
|
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
|
Any
|
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
|
str | int | float | bool
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 |
|
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
|
Any
|
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
|
str | int | float | bool
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 |
|
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
|
Any
|
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
|
str | int | float | bool
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 |
|
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
|
Any
|
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
|
str | int | float | bool
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 |
|
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
|
Any
|
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
|
str | int | float | bool
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 |
|
Metadata
Metadata(
*children, class_=None, id=None, style=None, **kwargs
)
Bases: CaseTag
Defines metadata
Parameters:
Name | Type | Description | Default |
---|---|---|---|
children
|
Any
|
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
|
str | int | float | bool
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
1374 1375 1376 1377 1378 1379 1380 1381 1382 |
|
Mpath
Mpath(
*children,
href=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: CaseTag
Defines a motion path
Parameters:
Name | Type | Description | Default |
---|---|---|---|
children
|
Any
|
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
|
str | int | float | bool
|
Additional attributes. |
{}
|
Source code in src/air/tags/models/svg.py
1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 |
|