DOMRectList
Overview
DOMRectList is a class in Aspose.Html FOSS for Python.
An immutable sequence of :class:DOMRect objects (CSSOM View §7.2).
This class provides 2 methods for working with DOMRectList objects in Python programs.
Available methods include: __init__, item.
All public members are accessible to any Python application after installing the Aspose.Html FOSS for Python package.
Methods
| Signature | Description |
|---|---|
__init__(rects: list[DOMRect]) | Calls init(rects) on this DOMRectList instance. |
item(index: int) → DOMRect | None | Return the rect at index, or None if out of range. |