跳到主要内容

KBoundingBox2d.isValid() method

包围盒是否有效。

Whether this bounding box is valid.

Signature:

isValid(): boolean;

Returns:

boolean

当左下角点的坐标小于右上角的坐标时返回true。

True will be returned if min's xy are smaller or equal to max' xy.