OBJECT

Rectangle

A rectangular area on a canvas/grid: origin (x, y) plus size, in integer grid units.

link GraphQL Schema definition

  • type Rectangle {
  • # Horizontal position of the top-left corner from the left edge, in grid columns.
  • x: Int!
  • # Vertical position of the top-left corner from the top edge, in grid rows.
  • y: Int!
  • # Width, in grid columns.
  • width: Int!
  • # Height, in grid rows.
  • height: Int!
  • }