ImageOp class final
Canvas.drawImageRect(image, src, dst, paint): the image at url (may
hold ${...}), its src rect (source pixels; null: the whole image)
drawn into dst (null: the whole drawing). Without a paint, Flutter's
default Paint().
Constructors
Properties
-
dst
→ Expr<
Vec> ? -
final
- extra → Json
-
Keys this version doesn't model.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- hit → String?
-
The region id a pointer on this shape reports (
${result.region}).finalinherited - id → String?
-
finalinherited
- op → String
-
The JSON
op.no setteroverride -
paint
→ List<
Expr< DrawPaint> > -
Each paint draws the shape once, in order. Empty: nothing is drawn
(with hit, an invisible target).
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
src
→ Expr<
Vec> ? -
final
- url → String
-
final
-
when
→ Expr<
bool> ? -
Drawn only while it holds (Flutter's
if (cond)); null: always.finalinherited
Methods
-
copyWith(
{String? id, Expr< bool> ? when, List<Expr< ? paint, String? hit, String? url, Expr<DrawPaint> >Vec> ? src, Expr<Vec> ? dst}) → ImageOp -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Json -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited