ladybug_display.svg.rect module¶
SVG Rectangle class.
- class ladybug_display.svg.rect.Rect(externalResourcesRequired=None, transform=None, x=None, y=None, width=None, height=None, rx=None, ry=None, marker_start=None, marker_mid=None, marker_end=None, stroke_linejoin=None, stroke_miterlimit=None, fill_opacity=None, fill=None)[source]¶
Bases:
Element
,_FigureElement
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/rect
- 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'}¶
- LINEJOINS = {'bevel', 'inherit', 'miter', 'round'}¶
- PAINT_ORDERS = {'fill', 'markers', 'normal', 'stroke'}¶
- RENDERINGS = {'auto', 'crispEdges', 'geometricPrecision', 'inherit', 'optimizeSpeed'}¶
- 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 = 'rect'¶
- property elements¶
[list of objs]
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/elements
- property externalResourcesRequired¶
[bool]
- 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 filter¶
[str]
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/filter
- property height¶
[number or length]
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/height
- 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 marker_end¶
[str]
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/marker-end
- property marker_mid¶
[str]
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/marker-mid
- property marker_start¶
[str]
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/marker-start
- 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 paint_order¶
[str enum]
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/paint-order
- property pathLength¶
[float]
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/pathLength
- property pointer_events¶
[str enum]
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/pointer-events
- property rx¶
[number or length]
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/rx
- property ry¶
[number or length]
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/ry
- property shape_rendering¶
[str enum]
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/shape-rendering
- property stroke¶
[str]
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke
- property stroke_dasharray¶
[str]
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke-dasharray
- property stroke_dashoffset¶
[number or length]
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke-dashoffset
- property stroke_linejoin¶
[str enum]
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke-linejoin
- property stroke_miterlimit¶
[number]
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke-miterlimit
- property stroke_opacity¶
[number]
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke-opacity
- property stroke_width¶
[number or length]
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke-width
- 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
- property vector_effect¶
[str enum]
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/vector-effect
- property visibility¶
[str enum]
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/visibility
- property width¶
[number or length]
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/width
- property x¶
[number or length]
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/x
- property y¶
[number or length]
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/y