Interface java.awt.Shape
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface java.awt.Shape

public 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.

Version:
1.4 07/01/98
Author:
Jim Graham

Method Index

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

Methods

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


All Packages  Class Hierarchy  This Package  Previous  Next  Index