未验证 提交 fe85f946 编写于 作者: 张风捷特烈's avatar 张风捷特烈 提交者: GitHub

Update painting.dart (#22195)

上级 7a7804b6
...@@ -4414,7 +4414,7 @@ class Canvas extends NativeFieldWrapperClass2 { ...@@ -4414,7 +4414,7 @@ class Canvas extends NativeFieldWrapperClass2 {
/// Rect.fromLTWH(sprite.index * 10.0, 0.0, 10.0, 10.0), /// Rect.fromLTWH(sprite.index * 10.0, 0.0, 10.0, 10.0),
/// ], <Color>[ /// ], <Color>[
/// for (Sprite sprite in allSprites) /// for (Sprite sprite in allSprites)
/// Color.white.withAlpha(sprite.alpha), /// Colors.white.withAlpha(sprite.alpha),
/// ], BlendMode.srcIn, null, paint); /// ], BlendMode.srcIn, null, paint);
/// } /// }
/// ///
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册