Rectangle: {
    x: number;
    y: number;
    width: number;
    height: number;
}

Type declaration

  • x: number
  • y: number
  • width: number
  • height: number