Package com.anylogic.engine
- All Superinterfaces:
Locatable2D
- All Known Subinterfaces:
Area3D
- All Known Implementing Classes:
ShapeRectangle
,ShapeRoundedRectangle
public interface Area2D extends Locatable2D
This interface represents some rectangular area.
- Author:
- AnyLogic North America, LLC https://anylogic.com
double getX()
Returns the base x coordinate of the area.
- Specified by:
getX
in interfaceLocatable2D
- Returns:
- the base x coordinate of the area
double getY()
Returns the base y coordinate of the area.
- Specified by:
getY
in interfaceLocatable2D
- Returns:
- the base y coordinate of the area
double getWidth()
Returns the width of the area.
- Returns:
- the width of the area
double getHeight()
Returns the height of the area.
- Returns:
- the height of the area