CloneSet1450


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
15316
Closure/closure/goog/graphics/canvaselement.js
25724
Closure/closure/goog/graphics/canvaselement.js
Clone Instance
1
Line Count
5
Source Line
316
Source File
Closure/closure/goog/graphics/canvaselement.js

/**
 * Update the size of the rectangle.
 * @param {number} width Width of rectangle.
 * @param {number} height Height of rectangle.
 */
goog.graphics.CanvasRectElement.prototype.setSize=  function (width, height){
  this.w_=  width;
  this.h_=  height;
  if (this.drawn_) {
    this.getGraphics( ).redraw( );
                   }
                                                                            } ;


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

/**
 * Update the size of the image.
 * @param {number} width Width of rectangle.
 * @param {number} height Height of rectangle.
 */
goog.graphics.CanvasImageElement.prototype.setSize=  function (width, height){
  this.w_=  width;
  this.h_=  height;
  if (this.drawn_) {
    this.getGraphics( ).redraw( );
                   }
                                                                             } ;


Clone AbstractionParameter Count: 1Parameter Bindings

/**
 * Update the size of the image.
 * @param {number} width Width of rectangle.
 * @param {number} height Height of rectangle.
 */
/**
 * Update the size of the rectangle.
 * @param {number} width Width of rectangle.
 * @param {number} height Height of rectangle.
 */
goog.graphics. [[#variable3ed74a40]].prototype.setSize= function (width,height)
                                                        { this.w_=width;
                                                          this.h_=height;
                                                          if (this.drawn_)
                                                            { this.getGraphics( ).redraw( );
                                                            }
                                                        } ;
 

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