void |
Rectangle.add(Rectangle r)
Adds a Rectangle to this Rectangle.
|
protected void |
GridBagLayout.adjustForGravity(GridBagConstraints constraints,
Rectangle r)
Adjusts the x, y, width, and height fields to the correct
values depending on the constraint geometry and pads.
|
protected void |
GridBagLayout.AdjustForGravity(GridBagConstraints constraints,
Rectangle r)
This method is obsolete and supplied for backwards
compatability only; new code should call adjustForGravity instead.
|
boolean |
Rectangle.contains(Rectangle r)
Checks whether or not this Rectangle entirely contains
the specified Rectangle.
|
PaintContext |
TexturePaint.createContext(java.awt.image.ColorModel cm,
Rectangle deviceBounds,
java.awt.geom.Rectangle2D userBounds,
java.awt.geom.AffineTransform xform,
RenderingHints hints)
Creates and returns a PaintContext used to
generate a tiled image pattern.
|
PaintContext |
RadialGradientPaint.createContext(java.awt.image.ColorModel cm,
Rectangle deviceBounds,
java.awt.geom.Rectangle2D userBounds,
java.awt.geom.AffineTransform transform,
RenderingHints hints)
Creates and returns a PaintContext used to
generate a circular radial color gradient pattern.
|
PaintContext |
Paint.createContext(java.awt.image.ColorModel cm,
Rectangle deviceBounds,
java.awt.geom.Rectangle2D userBounds,
java.awt.geom.AffineTransform xform,
RenderingHints hints)
Creates and returns a PaintContext used to
generate the color pattern.
|
PaintContext |
LinearGradientPaint.createContext(java.awt.image.ColorModel cm,
Rectangle deviceBounds,
java.awt.geom.Rectangle2D userBounds,
java.awt.geom.AffineTransform transform,
RenderingHints hints)
Creates and returns a PaintContext used to
generate a linear color gradient pattern.
|
PaintContext |
GradientPaint.createContext(java.awt.image.ColorModel cm,
Rectangle deviceBounds,
java.awt.geom.Rectangle2D userBounds,
java.awt.geom.AffineTransform xform,
RenderingHints hints)
Creates and returns a PaintContext used to
generate a linear color gradient pattern.
|
PaintContext |
Color.createContext(java.awt.image.ColorModel cm,
Rectangle r,
java.awt.geom.Rectangle2D r2d,
java.awt.geom.AffineTransform xform,
RenderingHints hints)
Creates and returns a PaintContext used to
generate a solid color field pattern.
|
java.awt.image.BufferedImage |
Robot.createScreenCapture(Rectangle screenRect)
Creates an image containing pixels read from the screen.
|
Rectangle |
Component.getBounds(Rectangle rv)
Stores the bounds of this component into "return value" rv and
return rv.
|
Rectangle |
Graphics.getClipBounds(Rectangle r)
Returns the bounding rectangle of the current clipping area.
|
abstract boolean |
Graphics2D.hit(Rectangle rect,
Shape s,
boolean onStroke)
Checks whether or not the specified Shape intersects
the specified Rectangle, which is in device
space.
|
Rectangle |
Rectangle.intersection(Rectangle r)
Computes the intersection of this Rectangle with the
specified Rectangle.
|
boolean |
Rectangle.intersects(Rectangle r)
Determines whether or not this Rectangle and the specified
Rectangle intersect.
|
void |
Window.setBounds(Rectangle r)
Moves and resizes this component to conform to the new
bounding rectangle r.
|
void |
Rectangle.setBounds(Rectangle r)
Sets the bounding Rectangle of this Rectangle
to match the specified Rectangle.
|
void |
MenuComponent.AccessibleAWTMenuComponent.setBounds(Rectangle r)
Sets the bounds of this object in the form of a
Rectangle object.
|
void |
List.AccessibleAWTList.AccessibleAWTListChild.setBounds(Rectangle r)
Sets the bounds of this object in the form of a Rectangle
object.
|
void |
Component.setBounds(Rectangle r)
Moves and resizes this component to conform to the new
bounding rectangle r.
|
void |
Component.AccessibleAWTComponent.setBounds(Rectangle r)
Sets the bounds of this object in the form of a
Rectangle object.
|
void |
Frame.setMaximizedBounds(Rectangle bounds)
Sets the maximized bounds for this frame.
|
Rectangle |
Rectangle.union(Rectangle r)
Computes the union of this Rectangle with the
specified Rectangle.
|