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

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

Issue 1157573012: Implement radio button for Sky’s fn2 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Fix syntax error Created 5 years, 6 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
« no previous file with comments | « sky/engine/core/painting/Paint.h ('k') | sky/examples/stocks2/lib/stock_app.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/painting/Paint.idl
diff --git a/sky/engine/core/painting/Paint.idl b/sky/engine/core/painting/Paint.idl
index 27f4b20b3532b890b073768aa1e7076d27e0559e..f86cc75451581f64776efdb4042583f2864b2f7b 100644
--- a/sky/engine/core/painting/Paint.idl
+++ b/sky/engine/core/painting/Paint.idl
@@ -5,6 +5,14 @@
[
Constructor(),
] interface Paint {
+ // Style
+ const unsigned short FILL_STYLE = 0;
+ const unsigned short STROKE_STYLE = 1;
+ const unsigned short STROKE_AND_FILL_STYLE = 2;
+
+ // TODO(jackson): we could wrap this enum like we did for |color|
+ attribute unsigned short style;
+ attribute float strokeWidth;
attribute boolean isAntiAlias;
attribute Color color;
« no previous file with comments | « sky/engine/core/painting/Paint.h ('k') | sky/examples/stocks2/lib/stock_app.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698