ladybug_display.svg.switch module

SVG Switch class.

class ladybug_display.svg.switch.Switch(externalResourcesRequired=None, transform=None, opacity=None, class_=None, pointer_events=None)[source]

Bases: Element, Color, GraphicsElementEvents

https://developer.mozilla.org/en-US/docs/Web/SVG/Element/switch

ToString()

Overwrite .NET ToString.

as_dict()
as_str()
INTERPOLATIONS = {'auto', 'inherit', 'linearRGB', 'sRGB'}
property class_

[list of objs]

https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/class-

property color

[str]

https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/color

property color_interpolation

[str enum]

https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/color-interpolation

property data

[dict]

https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/data

element_name = 'switch'
property elements

[list of objs]

https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/elements

property externalResourcesRequired

[bool]

property id

[str]

https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/id

property lang

[str]

https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/lang

property onactivate

[str]

property onclick

[str]

property onfocusin

[str]

property onfocusout

[str]

property onload

[str]

property onmousedown

[str]

property onmousemove

[str]

property onmouseout

[str]

property onmouseover

[str]

property onmouseup

[str]

property opacity

[number]

https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/opacity

property pointer_events

[str]

https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/pointer-events

property style

[str]

https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/style

property tabindex

[int]

https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/tabindex

property text

[str]

https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/text

property transform

[list of objs]

https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/transform

property transform_origin

[str]

https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/transform-origin