| OLD | NEW |
| 1 /// The Dart HTML library. | 1 /// The Dart HTML library. |
| 2 library dart.dom.html; | 2 library dart.dom.html; |
| 3 | 3 |
| 4 import 'dart:async'; | 4 import 'dart:async'; |
| 5 import 'dart:collection'; | 5 import 'dart:collection'; |
| 6 import 'dart:_collection-dev' hide Symbol; | 6 import 'dart:_collection-dev' hide Symbol; |
| 7 import 'dart:html_common'; | 7 import 'dart:html_common'; |
| 8 import 'dart:indexed_db'; | 8 import 'dart:indexed_db'; |
| 9 import 'dart:isolate'; | 9 import 'dart:isolate'; |
| 10 import 'dart:json' as json; | 10 import 'dart:json' as json; |
| (...skipping 25191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 25202 String _strip(String key) => key.substring(5); | 25202 String _strip(String key) => key.substring(5); |
| 25203 } | 25203 } |
| 25204 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 25204 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 25205 // for details. All rights reserved. Use of this source code is governed by a | 25205 // for details. All rights reserved. Use of this source code is governed by a |
| 25206 // BSD-style license that can be found in the LICENSE file. | 25206 // BSD-style license that can be found in the LICENSE file. |
| 25207 | 25207 |
| 25208 | 25208 |
| 25209 /** | 25209 /** |
| 25210 * An object that can be drawn to a [CanvasRenderingContext2D] object with | 25210 * An object that can be drawn to a [CanvasRenderingContext2D] object with |
| 25211 * [CanvasRenderingContext2D.drawImage], | 25211 * [CanvasRenderingContext2D.drawImage], |
| 25212 * [CanvasRenderingContext2D.drawImageRect], | 25212 * [CanvasRenderingContext2D.drawImageToRect], |
| 25213 * [CanvasRenderingContext2D.drawImageScaled], or | 25213 * [CanvasRenderingContext2D.drawImageScaled], or |
| 25214 * [CanvasRenderingContext2D.drawImageScaledFromSource]. | 25214 * [CanvasRenderingContext2D.drawImageScaledFromSource]. |
| 25215 * | 25215 * |
| 25216 * If the CanvasImageSource is an [ImageElement] then the element's image is | 25216 * If the CanvasImageSource is an [ImageElement] then the element's image is |
| 25217 * used. If the [ImageElement] is an animated image, then the poster frame is | 25217 * used. If the [ImageElement] is an animated image, then the poster frame is |
| 25218 * used. If there is no poster frame, then the first frame of animation is used. | 25218 * used. If there is no poster frame, then the first frame of animation is used. |
| 25219 * | 25219 * |
| 25220 * If the CanvasImageSource is a [VideoElement] then the frame at the current | 25220 * If the CanvasImageSource is a [VideoElement] then the frame at the current |
| 25221 * playback position is used as the image. | 25221 * playback position is used as the image. |
| 25222 * | 25222 * |
| (...skipping 4134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 29357 _position = nextPosition; | 29357 _position = nextPosition; |
| 29358 return true; | 29358 return true; |
| 29359 } | 29359 } |
| 29360 _current = null; | 29360 _current = null; |
| 29361 _position = _array.length; | 29361 _position = _array.length; |
| 29362 return false; | 29362 return false; |
| 29363 } | 29363 } |
| 29364 | 29364 |
| 29365 T get current => _current; | 29365 T get current => _current; |
| 29366 } | 29366 } |
| OLD | NEW |