Package org.eclipse.graphiti.util
Class LocationInfo
- java.lang.Object
-
- org.eclipse.graphiti.util.LocationInfo
-
- All Implemented Interfaces:
ILocationInfo
public class LocationInfo extends java.lang.Object implements ILocationInfo
The Class LocationInfo.
-
-
Constructor Summary
Constructors Constructor Description LocationInfo(Shape shape, GraphicsAlgorithm graphicsAlgorithm)
Creates a newLocationInfo
with given shape and graphics algorithm.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphicsAlgorithm
getGraphicsAlgorithm()
Gets the graphics algorithm.Shape
getShape()
Gets the shape.
-
-
-
Constructor Detail
-
LocationInfo
public LocationInfo(Shape shape, GraphicsAlgorithm graphicsAlgorithm)
Creates a newLocationInfo
with given shape and graphics algorithm.- Parameters:
shape
- the shapegraphicsAlgorithm
- the graphics algorithm
-
-
Method Detail
-
getShape
public Shape getShape()
Description copied from interface:ILocationInfo
Gets the shape.- Specified by:
getShape
in interfaceILocationInfo
- Returns:
- the shape of this location information
-
getGraphicsAlgorithm
public GraphicsAlgorithm getGraphicsAlgorithm()
Description copied from interface:ILocationInfo
Gets the graphics algorithm.- Specified by:
getGraphicsAlgorithm
in interfaceILocationInfo
- Returns:
- the graphics algorithm of this location information
-
-