public interface IPeLayoutService
Modifier and Type | Method and Description |
---|---|
ILocation |
getConnectionMidpoint(Connection c,
double d)
Gets the connection midpoint.
|
IRectangle |
getGaBoundsForAnchor(Anchor anchor)
Returns the bounds of the graphics algorithm, which is referenced by the
anchor.
|
ILocationInfo |
getLocationInfo(Shape shape,
int x,
int y)
Returns the location info for a specific position inside a shape.
|
ILocation |
getLocationRelativeToDiagram(Anchor anchor)
Returns the location of the anchor relative to the diagram.
|
ILocation |
getLocationRelativeToDiagram(Shape shape)
Returns the location of the shape relative to the diagram.
|
ILocation getConnectionMidpoint(Connection c, double d)
c
- the connectiond
- a relative location on the connection (must be between 0 and
1)IRectangle getGaBoundsForAnchor(Anchor anchor)
anchor
- the anchorILocationInfo getLocationInfo(Shape shape, int x, int y)
shape
- the shapex
- x coordinatey
- y coordinateILocationInfo
ILocation getLocationRelativeToDiagram(Anchor anchor)
anchor
- the given anchor