Shape

Name

Shape

[Graphic: Figure from the text]

Description

Shape is an interface describing a two-dimensional geometric shape.

Interface Definition

public abstract interface java.awt.Shape {
 // Interface Methods public abstract Rectangle getBounds();
}

Interface Methods

getBounds

public abstract Rectangle getBounds()

See Also

Polygon, Rectangle