Uses of Class
toxi.geom.Rect

Packages that use Rect
toxi.geom   
 

Uses of Rect in toxi.geom
 

Methods in toxi.geom that return Rect
 Rect Rect.copy()
          Creates a copy of this rectangle
static Rect Rect.fromCenterExtent(Vec2D center, Vec2D extent)
          Factory method, constructs a new rectangle from a center point and extent vector.
 Rect Rect.merge(Rect r)
          Deprecated. use union(Rect) instead.
 Rect Rect.set(float x, float y, float w, float h)
          Sets new bounds for this rectangle.
 Rect Rect.set(Rect r)
           
 Rect Rect.setDimension(Vec2D dim)
           
 Rect Rect.setPosition(Vec2D pos)
           
 Rect Rect.union(Rect r)
          Updates the bounds of this rectangle by forming an union with the given rect.
 

Methods in toxi.geom with parameters of type Rect
 Vec2D Vec2D.constrain(Rect r)
          Forcefully fits the vector in the given rectangle.
 Vec2D Vec2D.getConstrained(Rect r)
          Creates a copy of the vector which forcefully fits in the given rectangle.
 boolean Rect.intersectsRect(Rect r)
          Checks if this rectangle intersects/overlaps the given one.
 boolean Vec2D.isInRectangle(Rect r)
          Checks if the point is inside the given rectangle.
 Rect Rect.merge(Rect r)
          Deprecated. use union(Rect) instead.
 Rect Rect.set(Rect r)
           
 Rect Rect.union(Rect r)
          Updates the bounds of this rectangle by forming an union with the given rect.