DrawPainting constructor

DrawPainting({
  1. bool selected = false,
  2. required PaintedModel item,
  3. double scale = 1,
  4. bool enabledHitDetection = false,
  5. bool freeStyleHighPerformance = false,
})

Constructor for the canvas.

Implementation

DrawPainting({
  this.selected = false,
  required this.item,
  this.scale = 1,
  this.enabledHitDetection = false,
  this.freeStyleHighPerformance = false,
});