Uses of Class
breadboards.GRectangle
-
-
Uses of GRectangle in breadboards
Methods in breadboards that return GRectangle Modifier and Type Method Description GRectangle
GCompound. getBounds()
returns the bounding box for the union of all elements in this GCompoundGRectangle
GImage. getBounds()
returns the bounding rectangle for this GImageGRectangle
GLabel. getBounds()
returns an empty bounding rectangle for this GLabelGRectangle
GLine. getBounds()
returns the bounding rectangle of the GLineabstract GRectangle
GObject. getBounds()
required of subclasses to determine the bounding rectangle of the GObject in questionGRectangle
GOval. getBounds()
returns the bounding rectangle for this GOvalGRectangle
GRect. getBounds()
returns the bounding rectangle for this GRectGRectangle
GRectangle. union(GRectangle r2)
returns the GRectangle that bounds both this GRectangle and another specified GRectangleMethods in breadboards with parameters of type GRectangle Modifier and Type Method Description boolean
GRectangle. intersects(GRectangle otherRectangle)
void
GOval. setBounds(GRectangle bounds)
set the width, height, and location of the GOval to those associated with the specified bounding rectanglevoid
GRect. setBounds(GRectangle bounds)
set the width, height, and location of the GRect to those associated with the specified bounding rectangleGRectangle
GRectangle. union(GRectangle r2)
returns the GRectangle that bounds both this GRectangle and another specified GRectangle
-