FacePainter constructor

const FacePainter({
  1. List<Face> faces = const [],
  2. required Size imageSize,
  3. required InputImageRotation rotation,
  4. bool boundFill = false,
  5. bool boundStroke = true,
  6. Color? boundFillColor,
  7. Color? boundStrokeColor,
  8. double boundStrokeWidth = 1.0,
  9. bool paintLandmark = true,
  10. double landmarkRadius = 2.0,
  11. Color? landmarkColor,
  12. bool paintContour = true,
  13. double contourStrokeWidth = 0.8,
  14. Color? contourColor,
})

Implementation

const FacePainter({
  this.faces = const [],
  required this.imageSize,
  required this.rotation,
  this.boundFill = false,
  this.boundStroke = true,
  this.boundFillColor,
  this.boundStrokeColor,
  this.boundStrokeWidth = 1.0,
  this.paintLandmark = true,
  this.landmarkRadius = 2.0,
  this.landmarkColor,
  this.paintContour = true,
  this.contourStrokeWidth = 0.8,
  this.contourColor,
});