Interface IShape

All Superinterfaces:
Cloneable, IGeometry, Serializable
All Known Implementing Classes:
CurvedPolygon, Ellipse, Pie, Polygon, Rectangle, RoundedRectangle

public interface IShape extends IGeometry
An IShape is the representation of an areal geometric object. It is thus the counterpart of an ICurve.

An IShape allows to test if another IGeometry is fully contained by it (contains(IGeometry)). Moreover its (closed) outline can be retrieved as an whole (getOutline()) or in the form of individual segments (getOutlineSegments(). As all other IGeometrys, an IShape may be transformed ( getTransformed(AffineTransform)) into another IShape.