mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
parent
d96368a941
commit
12254f5fe8
1 changed files with 2 additions and 3 deletions
|
@ -38,8 +38,8 @@ var Raster = Item.extend(/** @lends Raster# */{
|
|||
* element to get the image from (either a DOM Image or a Canvas).
|
||||
*
|
||||
* @param {HTMLImageElement|Canvas|String} [source] the source of the raster
|
||||
* @param {HTMLImageElement|Canvas|String} [position] the center position at
|
||||
* which the raster item is placed.
|
||||
* @param {Point} [position] the center position at which the raster item is
|
||||
* placed.
|
||||
*
|
||||
* @example {@paperscript height=300} // Creating a raster using a url
|
||||
* var url = 'http://upload.wikimedia.org/wikipedia/en/2/24/Lenna.png';
|
||||
|
@ -615,7 +615,6 @@ var Raster = Item.extend(/** @lends Raster# */{
|
|||
/**
|
||||
* @param {ImageData} data
|
||||
* @param {Point} point
|
||||
* @return {ImageData}
|
||||
*/
|
||||
setImageData: function(data /*, point */) {
|
||||
var point = Point.read(arguments, 1);
|
||||
|
|
Loading…
Reference in a new issue