ladybug_display.svg.marker module

SVG Marker class.

class ladybug_display.svg.marker.Marker(externalResourcesRequired=None, viewBox=None, preserveAspectRatio=None, refX=None, refY=None, markerUnits=None, markerWidth=None, markerHeight=None, orient=None, opacity=None, clip_path=None, class_=None, mask=None, overflow=None)[source]

Bases: Element, Color, GraphicsElementEvents, Graphics

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

ToString()

Overwrite .NET ToString.

as_dict()
as_str()
CURSORS = {'auto', 'crosshair', 'default', 'e-resize', 'help', 'inherit', 'move', 'n-resize', 'ne-resize', 'nw-resize', 'pointer', 's-resize', 'se-resize', 'sw-resize', 'text', 'w-resize', 'wait'}
EVENTS = {'all', 'bounding-box', 'fill', 'none', 'painted', 'stroke', 'visible', 'visibleFill', 'visiblePainted', 'visibleStroke'}
INTERPOLATIONS = {'auto', 'inherit', 'linearRGB', 'sRGB'}
RULES = {'evenodd', 'inherit', 'nonzero'}
UNITS = {'strokeWidth', 'userSpace', 'userSpaceOnUse'}
property class_

[list of objs]

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

property clip_path

[str]

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

property clip_rule

[str enum]

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

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 cursor

[str enum]

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

property data

[dict]

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

property display

[str]

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

element_name = 'marker'
property elements

[list of objs]

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

property externalResourcesRequired

[bool]

property filter

[str]

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

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 markerHeight

[number or length]

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

property markerUnits

[str enum]

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

property markerWidth

[number or length]

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

property mask

[str]

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

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 orient

[str]

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

property overflow

[str enum]

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

property pointer_events

[str enum]

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

property preserveAspectRatio

[obj]

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

property refX

[number or length]

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

property refY

[number or length]

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

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_origin

[str]

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

property viewBox

[obj]

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