Package org.djutils.draw
Interface Drawable2d
-
- All Superinterfaces:
Drawable<Point2d,Space2d>
,Serializable
- All Known Implementing Classes:
Bounds2d
,LineSegment2d
,OrientedPoint2d
,Point2d
,Polygon2d
,PolyLine2d
,Ray2d
public interface Drawable2d extends Drawable<Point2d,Space2d>
Drawable2d is the interface that all drawable objects that use 2d coordinates must implement.Copyright (c) 2020-2021 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUTILS License.- Author:
- Alexander Verbraeck, Peter Knoppers
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Bounds2d
getBounds()
Retrieve the bounding rectangle of the object.
-
-
-
Method Detail
-
getBounds
Bounds2d getBounds()
Retrieve the bounding rectangle of the object.- Returns:
- Bounds2d; the bounding box of the object
-
-