GRect constructor

GRect([
  1. double x = 0.0,
  2. double y = 0.0,
  3. double width = 0.0,
  4. double height = 0.0,
])

Creates a new GRect object with the top-left corner specified by the x and y parameters and with the specified width and height parameters.

Implementation

GRect([this.x = 0.0, this.y = 0.0, this.width = 0.0, this.height = 0.0]);