CloneSet1451


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5210.989ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15294
Closure/closure/goog/graphics/canvaselement.js
25710
Closure/closure/goog/graphics/canvaselement.js
Clone Instance
1
Line Count
5
Source Line
294
Source File
Closure/closure/goog/graphics/canvaselement.js

/**
 * Update the position of the rectangle.
 * @param {number} x X coordinate (left).
 * @param {number} y Y coordinate (top).
 */
goog.graphics.CanvasRectElement.prototype.setPosition=  function (x, y){
  this.x_=  x;
  this.y_=  y;
  if (this.drawn_) {
    this.getGraphics( ).redraw( );
                   }
                                                                       } ;


Clone Instance
2
Line Count
5
Source Line
710
Source File
Closure/closure/goog/graphics/canvaselement.js

/**
 * Update the position of the image.
 * @param {number} x X coordinate (left).
 * @param {number} y Y coordinate (top).
 */
goog.graphics.CanvasImageElement.prototype.setPosition=  function (x, y){
  this.x_=  x;
  this.y_=  y;
  if (this.drawn_) {
    this.getGraphics( ).redraw( );
                   }
                                                                        } ;


Clone AbstractionParameter Count: 1Parameter Bindings

/**
 * Update the position of the image.
 * @param {number} x X coordinate (left).
 * @param {number} y Y coordinate (top).
 */
/**
 * Update the position of the rectangle.
 * @param {number} x X coordinate (left).
 * @param {number} y Y coordinate (top).
 */
goog.graphics. [[#variable3ed75c40]].prototype.setPosition= function (x,y)
                                                            { this.x_=x;
                                                              this.y_=y;
                                                              if (this.drawn_)
                                                                { this.getGraphics( ).redraw( );
                                                                }
                                                            } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#3ed75c40]]
CanvasImageElement 
12[[#3ed75c40]]
CanvasRectElement