Home > @esengine/ecs-framework-monorepo > Rectangle > intersectionArea
Rectangle.intersectionArea() method
计算相交面积
Signature:
typescript
intersectionArea(other: Rectangle): number;
Parameters
Parameter | Type | Description |
---|---|---|
other | 另一个矩形 |
Returns:
number
相交面积