Displaying 1 result from an estimated 1 matches for "getbottom".
2005 Dec 15
1
Some handy methods - perhaps cool enough to be committed some time
...n,size){
this.size=size;
this.position=position;
this.getTopLeft=function(){
return this.position;
}
this.getTopRight=function(){
return new
Geometry.Position(this.position.x+this.size.width-1,this.position.y);
}
this.getBottomLeft=function(){
return new
Geometry.Position(this.position.x,this.position.y+this.size.height-1);
}
this.getBottomRight=function(){
return new
Geometry.Position(this.position.x+this.size.width-1,this.position.y+this.size.height-1);
}
this.g...