CaptureOptions constructor
CaptureOptions({
- TextPolicy text(
- TextRun run
- UnsupportedPolicy unsupported = UnsupportedPolicy.rasterize,
- double rasterScale = 3,
Implementation
CaptureOptions({
TextPolicy Function(TextRun run)? text,
this.unsupported = UnsupportedPolicy.rasterize,
this.rasterScale = 3,
}) : text = text ?? ((_) => TextPolicy.embedFont);