FacePainter constructor
const
FacePainter({
- List<
Face> faces = const [], - required Size imageSize,
- required InputImageRotation rotation,
- bool boundFill = false,
- bool boundStroke = true,
- Color? boundFillColor,
- Color? boundStrokeColor,
- double boundStrokeWidth = 1.0,
- bool paintLandmark = true,
- double landmarkRadius = 2.0,
- Color? landmarkColor,
- bool paintContour = true,
- double contourStrokeWidth = 0.8,
- 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,
});