Line: groupMath p1: Vec2 p2: Vec2 transform(m: Mat23, s?: Shape): Line bbox(): Rect area(): number clone(): Line collides(shape: ShapeType | Vec2): boolean contains(point: Vec2): boolean raycast(origin: Vec2, direction: Vec2): RaycastResult random(): Vec2