computeOverlap Method
Return a ViewRect that is the overlap (intersection) of this ViewRect and another ViewRect. If the two ViewRects are equal, their value is the result. Otherwise, the result will always be smaller than either of them.
computeOverlap(other: ViewRect, out?: ViewRect): undefined | ViewRect
Parameter | Type | Description |
---|---|---|
other | ViewRect | |
out | ViewRect |
Returns - undefined | ViewRect
Defined in
- core/frontend/src/common/ViewRect.ts Line 153
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.