|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPeLayoutService
The interface IPeLayoutService provides services (e.g. query location info for a pictogram element) which makes it easier to write layout features.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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 anchor
ILocationInfo getLocationInfo(Shape shape,
int x,
int y)
shape - the shapex - x coordinatey - y coordinate
ILocationInfoILocation getLocationRelativeToDiagram(Anchor anchor)
anchor - the given anchor
ILocation getLocationRelativeToDiagram(Shape shape)
shape - the given shape
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||