Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(242)

Unified Diff: sky/engine/core/painting/Paint.idl

Issue 1161273004: Add a Color class to dart:sky. (Closed) Base URL: git@github.com:/domokit/mojo.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sky/engine/core/painting/Paint.idl
diff --git a/sky/engine/core/painting/Paint.idl b/sky/engine/core/painting/Paint.idl
index d2ef2ddb327771ce7c991e31ba8a65cbeac982b7..8d1b45940297ddf8cc440109d52734b9726880a8 100644
--- a/sky/engine/core/painting/Paint.idl
+++ b/sky/engine/core/painting/Paint.idl
@@ -6,8 +6,9 @@
Constructor(),
] interface Paint {
attribute boolean isAntiAlias;
- attribute unsigned long color;
+ attribute Color color;
+ // TODO(mpcomplete): remove this in favor of assigning to |color|.
void setARGB(unsigned long a, unsigned long r, unsigned long g, unsigned long b);
void setDrawLooper(DrawLooper looper);
void setColorFilter(ColorFilter filter);

Powered by Google App Engine
This is Rietveld 408576698