Versions in this module Expand all Collapse all v1 v1.0.1 Aug 7, 2023 v1.0.0 Feb 24, 2023 Changes in this version + type Rectangle struct + Color color.Color + Height int + Width int + X int + Y int + func Rect(x, y, width, height int) *Rectangle + func (r *Rectangle) Bottom(val ...int) int + func (r *Rectangle) BottomLeft(val ...int) (int, int) + func (r *Rectangle) BottomRight(val ...int) (int, int) + func (r *Rectangle) Center(val ...int) (int, int) + func (r *Rectangle) CenterX(val ...int) int + func (r *Rectangle) CenterY(val ...int) int + func (r *Rectangle) CollidesWith(s *Rectangle) bool + func (r *Rectangle) Draw(screen *ebiten.Image) + func (r *Rectangle) DrawCircle(screen *ebiten.Image) + func (r *Rectangle) Empty() bool + func (r *Rectangle) Left(val ...int) int + func (r *Rectangle) MidBottom(val ...int) (int, int) + func (r *Rectangle) MidLeft(val ...int) (int, int) + func (r *Rectangle) MidRight(val ...int) (int, int) + func (r *Rectangle) MidTop(val ...int) (int, int) + func (r *Rectangle) Right(val ...int) int + func (r *Rectangle) Size(val ...int) (int, int) + func (r *Rectangle) Top(val ...int) int + func (r *Rectangle) TopLeft(val ...int) (int, int) + func (r *Rectangle) TopRight(val ...int) (int, int)