|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IAdvancedLocation
The Interface IAdvancedLocation. It provides additional methods for the location data type.
Method Summary | |
---|---|
ILocation |
getLocationCopy()
|
void |
scale(double amount)
Changes the current location. |
ILocation |
setLocation(ILocation location)
Sets the location. |
ILocation |
setLocation(int x,
int y)
Sets the location. |
ILocation |
translate(int dx,
int dy)
Translates the current location. |
Methods inherited from interface org.eclipse.graphiti.datatypes.ILocation |
---|
getX, getY, setX, setY |
Method Detail |
---|
ILocation getLocationCopy()
ILocation setLocation(int x, int y)
x
- the new x coordinate of the locationy
- the new y coordinate of the location
ILocation setLocation(ILocation location)
location
- the location which contains the new x and y coordinates
void scale(double amount)
amount
- x and y coordinate of the location will be multiplied with
this amountILocation translate(int dx, int dy)
dx
- this value will be added to the x coordinatedy
- this value will be added to the y coordinate
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |