import ( "fmt" "image" ) func main() { rectangle := image.Rect(0, 0, 10, 20) fmt.Printf("Rectangle: %v\n", rectangle) fmt.Printf("Width: %v\n", rectangle.Dx()) fmt.Printf("Height: %v\n", rectangle.Dy()) fmt.Printf("Size: %v\n", rectangle.Size()) }The code above creates a new rectangle with the point (0,0) as its minimum and the point (10,20) as its maximum. It then prints out the rectangle's properties including its dimensions and size. Package Library: `image` package.