Rectangle is a Rectangle2D.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1946 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: AbstractMedia.java,v 1.3 2002/11/13 23:59:11 mdb Exp $
|
// $Id: AbstractMedia.java,v 1.4 2002/11/14 00:07:35 ray Exp $
|
||||||
|
|
||||||
package com.threerings.media;
|
package com.threerings.media;
|
||||||
|
|
||||||
@@ -89,8 +89,7 @@ public abstract class AbstractMedia
|
|||||||
// documentation inherited from interface Shape
|
// documentation inherited from interface Shape
|
||||||
public Rectangle2D getBounds2D ()
|
public Rectangle2D getBounds2D ()
|
||||||
{
|
{
|
||||||
return new Rectangle2D.Float(_bounds.x, _bounds.y,
|
return _bounds;
|
||||||
_bounds.width, _bounds.height);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// documentation inherited from interface Shape
|
// documentation inherited from interface Shape
|
||||||
|
|||||||
Reference in New Issue
Block a user