Context class

Annotations
  • @immutable

Constructors

Context({required PdfDocument document, PdfPage? page, PdfGraphics? canvas})
factory

Properties

canvas → PdfGraphics
no setter
document → PdfDocument
final
hashCode → int
The hash code for this object.
no setterinherited
page → PdfPage
no setter
pageLabel ↔ String
getter/setter pair
pageNumber → int
no setter
pagesCount → int
Number of pages in the document. This value is not available in a MultiPage body and will be equal to pageNumber. But can be used in Header and Footer.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({PdfPage? page, PdfGraphics? canvas, Matrix4? ctm, HashMap<Type, Inherited>? inherited}) → Context
dependsOn<T>() → T?
inheritFrom(Inherited object) → Context
inheritFromAll(Iterable<Inherited> objects) → Context
localToGlobal(PdfRect box) → PdfRect
localToGlobalPoint(PdfPoint point) → PdfPoint
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited