public class LocationInfo extends java.lang.Object implements ILocationInfo
| Constructor and Description |
|---|
LocationInfo(Shape shape,
GraphicsAlgorithm graphicsAlgorithm)
Creates a new
LocationInfo with given shape and graphics
algorithm. |
| Modifier and Type | Method and Description |
|---|---|
GraphicsAlgorithm |
getGraphicsAlgorithm()
Gets the graphics algorithm.
|
Shape |
getShape()
Gets the shape.
|
public LocationInfo(Shape shape, GraphicsAlgorithm graphicsAlgorithm)
LocationInfo with given shape and graphics
algorithm.shape - the shapegraphicsAlgorithm - the graphics algorithmpublic Shape getShape()
ILocationInfogetShape in interface ILocationInfopublic GraphicsAlgorithm getGraphicsAlgorithm()
ILocationInfogetGraphicsAlgorithm in interface ILocationInfo