ladybug_display.svg.g module¶
Class for SVG group.
- class ladybug_display.svg.g.G(transform=None, class_=None, mask=None, opacity=None, clip_path=None, fill_rule=None, fill_opacity=None, fill=None)[source]¶
Bases:
Element
,GraphicsElementEvents
,Color
,Graphics
The <g> SVG element is a container used to group other SVG elements.
Transformations applied to the <g> element are performed on its child elements, and its attributes are inherited by its children. It can also group multiple elements to be referenced later with the <use> element.
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/g
- 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'}¶
- FILL_RULES = {'evenodd', 'inherit', 'nonzero'}¶
- INTERPOLATIONS = {'auto', 'inherit', 'linearRGB', 'sRGB'}¶
- RULES = {'evenodd', 'inherit', 'nonzero'}¶
- 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 = 'g'¶
- property elements¶
[list of objs]
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/elements
- property fill¶
[str]
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill
- property fill_opacity¶
[number]
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill-opacity
- property fill_rule¶
[str enum]
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill-rule
- 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 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 pointer_events¶
[str enum]
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