ladybug_display.svg.defs module

SVG Defs class.

class ladybug_display.svg.defs.Defs(transform=None, class_=None, pointer_events=None)[source]

Bases: Element, Color, GraphicsElementEvents

The <defs> is used to store graphical objects that will be used at a later time.

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

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 = 'defs'
property elements

[list of objs]

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

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 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