PdfMapContentResources class
Resources built from in-memory maps.
Useful in tests and for callers that already resolved the fonts some other way.
- Implemented types
Constructors
-
PdfMapContentResources({Map<
String, PdfContentFont> ? fonts, Map<String, PdfContentFormXObject> ? forms}) - Creates resources from maps.
Properties
-
fonts
→ Map<
String, PdfContentFont> -
Fonts by resource name.
final
-
forms
→ Map<
String, PdfContentFormXObject> -
Form XObjects by resource name.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
findFont(
String name) → PdfContentFont? -
Font named
name(with the slash,/F1), ornull.override -
findFormXObject(
String name) → PdfContentFormXObject? -
Form XObject named
name(with the slash), ornull.override -
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