decodedImageFor abstract method

Image decodedImageFor(
  1. MediaSource source
)

The pre-decoded image for source — synchronous by contract, so paint can hand it straight to a RawImage with no async-in-frame.

Only valid after preResolveAll completed for an image source; implementations throw on an unresolved or non-image source.

Implementation

ui.Image decodedImageFor(MediaSource source);