Files
flame/packages/flame/lib/rendering.dart
Pasha Stetsenko 8d00847cfc feat: Added Decorator class and HasDecorator mixin (#1781)
The new class allows applying visual filters to canvas drawing operations. It is conceptually similar to the LayerProcessor class, except that it applies directly to a canvas instead of a Picture.

This functionality was extracted from PR #1755.

NB: the guitar image was taken from here, which is a public domain image, i.e. licensed under CC0 1.0.
2022-07-18 19:44:17 +00:00

3 lines
119 B
Dart

export 'src/rendering/decorator.dart' show Decorator;
export 'src/rendering/paint_decorator.dart' show PaintDecorator;