RectangleD constructor

RectangleD({
  1. StructPointer<RectangleD>? op,
  2. double x = 0,
  3. double y = 0,
  4. double width = 0,
  5. double height = 0,
})

Implementation

RectangleD({
  super.op,
  double x = 0,
  double y = 0,
  double width = 0,
  double height = 0,
}) :
  _x = x,
  _y = y,
  _width = width,
  _height = height;