shapesOn method

List<UDocShape> shapesOn(
  1. int pageIndex
)

Shapes of one PDF page / EPUB chapter, in paint order.

Implementation

List<UDocShape> shapesOn(int pageIndex) {
  final Map<int, List<UDocShape>> index = _shapesByPage ??= _buildShapeIndex();
  return index[pageIndex] ?? const <UDocShape>[];
}