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): ViewRect | undefined

Parameter Type Description
other ViewRect  
out ViewRect  

Returns - ViewRect | undefined

Defined in

Last Updated: 13 June, 2024