DFRect constructor

DFRect(
  1. double left,
  2. double top,
  3. double width,
  4. double height,
)

创建矩形

Implementation

DFRect(this.left, this.top, this.width, this.height) {
  this.right = this.left + this.width;
  this.bottom = this.top + this.height;
}