Home > @esengine/ecs-framework-monorepo > Rectangle > containsRect
Rectangle.containsRect() method
检查是否完全包含另一个矩形
Signature:
typescript
containsRect(other: Rectangle): boolean;
Parameters
Parameter | Type | Description |
---|---|---|
other | 另一个矩形 |
Returns:
boolean
是否完全包含