| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 25 | 2 | 2 | 0.981 | SourceElements[3] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 25 | 235 | Closure/closure/goog/graphics/vmlelement.js |
| 2 | 25 | 352 | 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);
} ;
|
| ||||
/** @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);
} ;
|
| |||
/** @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 Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#609aa360]] | VmlImageElement |
| 1 | 2 | [[#609aa360]] | VmlRectElement |
| 2 | 1 | [[#609aa300]] | toPosPx |
| 2 | 2 | [[#609aa300]] | toSizePx |