|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IAdvancedDimension
The Interface IAdvancedDimension. It provides additional methods for the dimension data type.
| Method Summary | |
|---|---|
IDimension |
expand(int dw,
int dh)
Expands the current dimension |
IDimension |
getDimensionCopy()
|
void |
scale(double amount)
Changes the current dimension |
IDimension |
setDimension(IDimension dimension)
Sets the width and height of the dimension. |
IDimension |
setDimension(int width,
int height)
Sets the width and height of the dimension. |
| Methods inherited from interface org.eclipse.graphiti.datatypes.IDimension |
|---|
getHeight, getWidth, setHeight, setWidth |
| Method Detail |
|---|
IDimension getDimensionCopy()
IDimension setDimension(int width,
int height)
width - the new width of the dimensionheight - the new height of the dimension
IDimension setDimension(IDimension dimension)
dimension - the dimension which contains the new width and height
void scale(double amount)
amount - width and height of the dimension will be multiplied with this
amount
IDimension expand(int dw,
int dh)
dw - this value will be added to the widthdh - this value will be added to the height
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||