rect
rect: ViewRect | undefined
The region of the viewport's contents to read. If the area is empty or not contained within the viewRect, no pixels will be read. If omitted, the viewport's entire contents will be read.
Defined in
- core/frontend/src/Viewport.ts Line 256
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.