forPage static method
Effective resources of page pageIndex, with inheritance already
applied.
Implementation
static PdfParserContentResources? forPage(
PdfDocumentParser parser, int pageIndex) {
final page = parser.pageDictAt(pageIndex);
if (page == null) return null;
return PdfParserContentResources(
parser, parser.resolvePageResources(page));
}