clip method

void clip(
  1. Context context,
  2. PdfPoint size
)

Implementation

void clip(Context context, PdfPoint size) {
  context.canvas
    ..saveContext()
    ..drawBox(gridBox)
    ..clipPath();
}