CloneSet387


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13210.989SourceElements[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
113151
Closure/closure/goog/graphics/svgelement.js
213245
Closure/closure/goog/graphics/svgelement.js
Clone Instance
1
Line Count
13
Source Line
151
Source File
Closure/closure/goog/graphics/svgelement.js

/**
 * Update the position of the rectangle.
 * @param {number} x X coordinate (left).
 * @param {number} y Y coordinate (top).
 */
goog.graphics.SvgRectElement.prototype.setPosition=  function (x, y){
  this.getGraphics( ).setElementAttributes(this.getElement( ), { 'x': x, 'y': y } );
                                                                    } ;


/**
 * Update the size of the rectangle.
 * @param {number} width Width of rectangle.
 * @param {number} height Height of rectangle.
 */
goog.graphics.SvgRectElement.prototype.setSize=  function (width, height){
  this.getGraphics( ).setElementAttributes(this.getElement( ),
       { 'width': width, 'height': height } );
                                                                         } ;


Clone Instance
2
Line Count
13
Source Line
245
Source File
Closure/closure/goog/graphics/svgelement.js

/**
 * Update the position of the image.
 * @param {number} x X coordinate (left).
 * @param {number} y Y coordinate (top).
 */
goog.graphics.SvgImageElement.prototype.setPosition=  function (x, y){
  this.getGraphics( ).setElementAttributes(this.getElement( ), { 'x': x, 'y': y } );
                                                                     } ;


/**
 * Update the size of the image.
 * @param {number} width Width of image.
 * @param {number} height Height of image.
 */
goog.graphics.SvgImageElement.prototype.setSize=  function (width, height){
  this.getGraphics( ).setElementAttributes(this.getElement( ),
       { 'width': width, 'height': height } );
                                                                          } ;


Clone AbstractionParameter Count: 1Parameter Bindings

/**
 * Update the position of the rectangle.
 * @param {number} x X coordinate (left).
 * @param {number} y Y coordinate (top).
 */
/**
 * Update the position of the image.
 * @param {number} x X coordinate (left).
 * @param {number} y Y coordinate (top).
 */
goog.graphics. [[#variable61afcf80]].prototype.setPosition= function (x,y)
                                                            { this.getGraphics( ).setElementAttributes(this.getElement( ), { 'x':x,
                                                                                                                             'y':y } );
                                                            } ;
/**
 * Update the size of the rectangle.
 * @param {number} width Width of rectangle.
 * @param {number} height Height of rectangle.
 */
/**
 * Update the size of the image.
 * @param {number} width Width of image.
 * @param {number} height Height of image.
 */
goog.graphics. [[#variable61afcf80]].prototype.setSize= function (width,height)
                                                        { this.getGraphics( ).setElementAttributes(this.getElement( ), { 'width':width,
                                                                                                                         'height':height } );
                                                        } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#61afcf80]]
SvgRectElement 
12[[#61afcf80]]
SvgImageElement