All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface java.awt.Shape

public interface interface Shape
The interface for objects which represent some form of geometric shape.

This interface will be revised in the upcoming Java2D project. It is meant to provide a common interface for various existing geometric AWT classes and methods which operate on them. Since it may be superseded or expanded in the future, developers should avoid implementing this interface in their own classes until it is completed in a later release.


Method Index

 o getBounds()
Return the bounding box of the shape.

Methods

 o getBounds
 public abstract Rectangle getBounds()
Return the bounding box of the shape.


All Packages  Class Hierarchy  This Package  Previous  Next  Index