PictureInfo class
Represents information about a ui.Picture to be drawn on a canvas.
Constructors
- PictureInfo({required Picture picture, required Rect viewport, Size size = Size.infinite, required CacheCompatibilityTester compatibilityTester})
- Creates a new PictureInfo object.
Properties
- compatibilityTester → CacheCompatibilityTester
-
A tester for whether ambienty property changes should invalidate the cache
for the Picture.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- picture → Picture?
-
The raw picture.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → Size
-
The requested size for this picture, which may be different than the
viewport.size
.final - viewport → Rect
-
The viewport enclosing the coordinates used in the picture.
final
Methods
-
createLayer(
) → PictureLayer - Creates a PictureLayer that will suitably manage the lifecycle of the picture.
-
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