CaptureOptions constructor

CaptureOptions({
  1. TextPolicy text(
    1. TextRun run
    )?,
  2. UnsupportedPolicy unsupported = UnsupportedPolicy.rasterize,
  3. double rasterScale = 3,
})

Implementation

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