Skip to content

format

typescript
Rect.EqualsTo(other)

class: Rect

description

Determines whether the current Rect is equal to the target Rect.

parameter

param_nametypedescription
otherRectThe target Rect.

reture

typedescription
booleanTrue if the current Rect is equal to the target Rect; otherwise, false.

code example