mirror of
https://github.com/dart-lang/sdk
synced 2024-10-03 00:29:50 +00:00
[dart:html] Fix incorrect parameter mention in drawImageScaledFromSource docs
Closes https://github.com/dart-lang/site-www/issues/5138 Bug: https://github.com/dart-lang/site-www/issues/5138 CoreLibraryReviewExempt: Only updating a doc comment in dart:html which is web specific. Change-Id: I58bd36764a6a86cfb7c30dbc60070025dfb2e51c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/322181 Commit-Queue: Srujan Gaddam <srujzs@google.com> Reviewed-by: Srujan Gaddam <srujzs@google.com>
This commit is contained in:
parent
7d23f32389
commit
a0d8796c94
|
@ -2852,7 +2852,7 @@ class CanvasRenderingContext2D extends JavaScriptObject
|
|||
* Draws an image from a CanvasImageSource to an area of this canvas.
|
||||
*
|
||||
* The image is a region of [source] that is [sourceWidth] wide and
|
||||
* [destHeight] tall with top left corner at ([sourceX], [sourceY]).
|
||||
* [sourceHeight] tall with top left corner at ([sourceX], [sourceY]).
|
||||
* The image will be drawn to this context with its top left corner at the
|
||||
* point ([destX], [destY]) and will be scaled to be [destWidth] wide and
|
||||
* [destHeight] tall.
|
||||
|
|
|
@ -187,7 +187,7 @@ $!MEMBERS
|
|||
* Draws an image from a CanvasImageSource to an area of this canvas.
|
||||
*
|
||||
* The image is a region of [source] that is [sourceWidth] wide and
|
||||
* [destHeight] tall with top left corner at ([sourceX], [sourceY]).
|
||||
* [sourceHeight] tall with top left corner at ([sourceX], [sourceY]).
|
||||
* The image will be drawn to this context with its top left corner at the
|
||||
* point ([destX], [destY]) and will be scaled to be [destWidth] wide and
|
||||
* [destHeight] tall.
|
||||
|
|
Loading…
Reference in a new issue