Added toImage method (#661)

This commit is contained in:
Jochum van der Ploeg
2021-02-23 00:34:21 +01:00
committed by GitHub
parent 4e5b75eafb
commit ec09ce0ce6
4 changed files with 20 additions and 0 deletions

View File

@@ -39,6 +39,8 @@ class _Composed {
}
/// The [ImageComposition] allows for composing multiple images onto a single image.
///
/// **Note:** Composing images is a heavy async operation and should not be called on each [Game.render].
class ImageComposition {
/// The values that will be used to compose the image
final List<_Composed> _composes = [];