GLine constructor

GLine(
  1. int x1,
  2. int y1,
  3. int x2,
  4. int y2, {
  5. int size = 1,
  6. PColor? color,
})

Implementation

GLine(this.x1, this.y1, this.x2, this.y2, {this.size = 1, this.color});