CBox constructor

CBox({
  1. required int lineWidth,
  2. required int topLeftX,
  3. required int topLeftY,
  4. required int bottomRightX,
  5. required int bottomRightY,
})

Implementation

CBox({
  required int lineWidth,
  required int topLeftX,
  required int topLeftY,
  required int bottomRightX,
  required int bottomRightY,
}) {
  _lineWidth = lineWidth;
  _topLeftX = topLeftX;
  _topLeftY = topLeftY;
  _bottomRightX = bottomRightX;
  _bottomRightY = bottomRightY;
}