Rect: pos: Vec2width: numberheight: numberfromPoints(p1: Vec2, p2: Vec2): Rectcenter(): Vec2points(): [Vec2, Vec2, Vec2, Vec2]transform(m: Mat4): Polygonbbox(): Rectarea(): numberclone(): RectdistToPoint(p: Vec2): numbersdistToPoint(p: Vec2): numbercollides(shape: ShapeType | Vec2): booleancontains(point: Vec2): booleanraycast(origin: Vec2, direction: Vec2): RaycastResultrandom(): Vec2