AnyLogic
Expand
Font size
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

Method Summary

All Methods Instance Methods Abstract Methods 
double getHeight()
Returns the height of the area.
double getWidth()
Returns the width of the area.
double getX()
Returns the base x coordinate of the area.
double getY()
Returns the base y coordinate of the area.
Modifier and Type Method Description

Method Detail

getX

double getX()
Returns the base x coordinate of the area.
Specified by:
getX in interface Locatable2D
Returns:
the base x coordinate of the area

getY

double getY()
Returns the base y coordinate of the area.
Specified by:
getY in interface Locatable2D
Returns:
the base y coordinate of the area

getWidth

double getWidth()
Returns the width of the area.
Returns:
the width of the area

getHeight

double getHeight()
Returns the height of the area.
Returns:
the height of the area
How can we improve this article?