| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 part of html; | 5 part of html; |
| 6 | 6 |
| 7 /** | 7 /** |
| 8 * An object that can be drawn to a 2D canvas rendering context. | 8 * An object that can be drawn to a 2D canvas rendering context. |
| 9 * | 9 * |
| 10 * The image drawn to the canvas depends on the type of this object: | 10 * The image drawn to the canvas depends on the type of this object: |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 * | 26 * |
| 27 * ## See also | 27 * ## See also |
| 28 * | 28 * |
| 29 * * [CanvasRenderingContext2D.drawImage] | 29 * * [CanvasRenderingContext2D.drawImage] |
| 30 * * [CanvasRenderingContext2D.drawImageToRect] | 30 * * [CanvasRenderingContext2D.drawImageToRect] |
| 31 * * [CanvasRenderingContext2D.drawImageScaled] | 31 * * [CanvasRenderingContext2D.drawImageScaled] |
| 32 * * [CanvasRenderingContext2D.drawImageScaledFromSource] | 32 * * [CanvasRenderingContext2D.drawImageScaledFromSource] |
| 33 * | 33 * |
| 34 * ## Other resources | 34 * ## Other resources |
| 35 * | 35 * |
| 36 * * [Image sources for 2D rendering contexts] | 36 * * [Image sources for 2D rendering |
| 37 * (http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-eleme
nt.html#image-sources-for-2d-rendering-contexts) | 37 * contexts](https://html.spec.whatwg.org/multipage/scripting.html#image-sourc
es-for-2d-rendering-contexts) |
| 38 * from WHATWG. | 38 * from WHATWG. |
| 39 * * [Drawing images] | 39 * * [Drawing images](https://html.spec.whatwg.org/multipage/scripting.html#dom-
context-2d-drawimage) |
| 40 * (http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-eleme
nt.html#dom-context-2d-drawimage) | 40 * from WHATWG. |
| 41 * from WHATWG. | |
| 42 */ | 41 */ |
| 43 abstract class CanvasImageSource {} | 42 abstract class CanvasImageSource {} |
| OLD | NEW |