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

Unified Diff: sdk/lib/html/dartium/html_dartium.dart

Side-by-side diff isn't available for this file because of its large size.
Issue 74013003: Added docs to canvaselement. Giving it docs for all members. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
Index: sdk/lib/html/dartium/html_dartium.dart
diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
index 8634f672e5ae6c6e62c62f123437fb55b1877a8a..202efcc508e410f58869f05c60e42548c8fc32e0 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -1322,6 +1322,16 @@ class CanvasElement extends HtmlElement implements CanvasImageSource {
/** An API for drawing on this canvas. */
CanvasRenderingContext2D get context2D => getContext('2d');
+ /**
+ * Returns a new Web GL context for this canvas.
+ *
+ * ## Other resources
+ *
+ * * [WebGL fundamentals]
+ * (http://www.html5rocks.com/en/tutorials/webgl/webgl_fundamentals/) from
+ * HTML5Rocks.
+ * * [WebGL homepage] (http://get.webgl.org/).
+ */
@SupportedBrowser(SupportedBrowser.CHROME)
@SupportedBrowser(SupportedBrowser.FIREFOX)
@Experimental()
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | tools/dom/templates/html/impl/impl_HTMLCanvasElement.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698