CloneSet234


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
25220.981SourceElements[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
125235
Closure/closure/goog/graphics/vmlelement.js
225352
Closure/closure/goog/graphics/vmlelement.js
Clone Instance
1
Line Count
25
Source Line
235
Source File
Closure/closure/goog/graphics/vmlelement.js

/** @inheritDoc */
goog.graphics.VmlRectElement.prototype.getElement=
    goog.graphics.vmlGetElement_;


/**
 * Update the position of the rectangle.
 * @param {number} x X coordinate (left).
 * @param {number} y Y coordinate (top).
 */
goog.graphics.VmlRectElement.prototype.setPosition=  function (x, y){
  var style=  this.getElement( ).style;
  style.left=  goog.graphics.VmlGraphics.toPosPx(x);
  style.top=  goog.graphics.VmlGraphics.toPosPx(y);
                                                                    } ;


/**
 * Update the size of the rectangle.
 * @param {number} width Width of rectangle.
 * @param {number} height Height of rectangle.
 */
goog.graphics.VmlRectElement.prototype.setSize=  function (width, height){
  var style=  this.getElement( ).style;
  style.width=  goog.graphics.VmlGraphics.toSizePx(width);
  style.height=  goog.graphics.VmlGraphics.toSizePx(height);
                                                                         } ;


Clone Instance
2
Line Count
25
Source Line
352
Source File
Closure/closure/goog/graphics/vmlelement.js

/** @inheritDoc */
goog.graphics.VmlImageElement.prototype.getElement=
    goog.graphics.vmlGetElement_;


/**
 * Update the position of the image.
 * @param {number} x X coordinate (left).
 * @param {number} y Y coordinate (top).
 */
goog.graphics.VmlImageElement.prototype.setPosition=  function (x, y){
  var style=  this.getElement( ).style;
  style.left=  goog.graphics.VmlGraphics.toPosPx(x);
  style.top=  goog.graphics.VmlGraphics.toPosPx(y);
                                                                     } ;


/**
 * Update the size of the image.
 * @param {number} width Width of rectangle.
 * @param {number} height Height of rectangle.
 */
goog.graphics.VmlImageElement.prototype.setSize=  function (width, height){
  var style=  this.getElement( ).style;
  style.width=  goog.graphics.VmlGraphics.toPosPx(width);
  style.height=  goog.graphics.VmlGraphics.toPosPx(height);
                                                                          } ;


Clone AbstractionParameter Count: 2Parameter Bindings

/** @inheritDoc */
goog.graphics. [[#variable609aa360]].prototype.getElement=goog.graphics.vmlGetElement_;
/**
 * 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. [[#variable609aa360]].prototype.setPosition= function (x,y)
                                                            { var style=this.getElement( ).style;
                                                              style.left=goog.graphics.VmlGraphics.toPosPx(x);
                                                              style.top=goog.graphics.VmlGraphics.toPosPx(y);
                                                            } ;
/**
 * 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. [[#variable609aa360]].prototype.setSize= function (width,height)
                                                        { var style=this.getElement( ).style;
                                                          style.width=goog.graphics.VmlGraphics. [[#variable609aa300]](width);
                                                          style.height=goog.graphics.VmlGraphics. [[#variable609aa300]](height);
                                                        } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#609aa360]]
VmlImageElement 
12[[#609aa360]]
VmlRectElement 
21[[#609aa300]]
toPosPx 
22[[#609aa300]]
toSizePx