public interface IGaLayoutService
| Modifier and Type | Method and Description |
|---|---|
IDimension |
calculateSize(GraphicsAlgorithm ga)
Calculates the size of the given graphics algorithm.
|
IDimension |
calculateSize(GraphicsAlgorithm ga,
boolean considerLineWidth)
Calculates the size of the given graphics algorithm.
|
void |
setHeight(GraphicsAlgorithm ga,
int height)
Sets the height of the given graphics algorithm.
|
void |
setLocation(GraphicsAlgorithm ga,
int x,
int y)
Sets the location of the given graphics algorithm.
|
void |
setLocation(GraphicsAlgorithm ga,
int x,
int y,
boolean avoidNegativeCoordinates)
Sets the location of the given graphics algorithm.
|
void |
setLocationAndSize(GraphicsAlgorithm ga,
int x,
int y,
int width,
int height)
Sets location and size of the given graphics algorithm.
|
void |
setLocationAndSize(GraphicsAlgorithm ga,
int x,
int y,
int width,
int height,
boolean avoidNegativeCoordinates)
Sets location and size of the given graphics algorithm.
|
void |
setSize(GraphicsAlgorithm ga,
int width,
int height)
Sets the size of the given graphics algorithm.
|
void |
setWidth(GraphicsAlgorithm ga,
int width)
Sets the width of the given graphics algorithm.
|
IDimension calculateSize(GraphicsAlgorithm ga)
ga - graphics algorithmIDimension calculateSize(GraphicsAlgorithm ga, boolean considerLineWidth)
ga - graphics algorithmconsiderLineWidth - if TRUE, the line width will be considered in the dimensionvoid setHeight(GraphicsAlgorithm ga, int height)
ga - graphics algorithmheight - the new heightvoid setLocationAndSize(GraphicsAlgorithm ga, int x, int y, int width, int height)
ga - graphics algorithmx - the new x coordinatey - the new y coordinatewidth - the new widthheight - the new heightvoid setLocationAndSize(GraphicsAlgorithm ga, int x, int y, int width, int height, boolean avoidNegativeCoordinates)
ga - graphics algorithmx - the new x coordinatey - the new y coordinatewidth - the new widthheight - the new heightavoidNegativeCoordinates - if TRUE, a negative coordinate will automatically set to 0.void setLocation(GraphicsAlgorithm ga, int x, int y)
ga - graphics algorithmx - the new x coordinatey - the new y coordinatevoid setLocation(GraphicsAlgorithm ga, int x, int y, boolean avoidNegativeCoordinates)
ga - graphics algorithmx - the new x coordinatey - the new y coordinateavoidNegativeCoordinates - if TRUE, a negative coordinate will automatically set to 0.void setSize(GraphicsAlgorithm ga, int width, int height)
ga - graphics algorithmwidth - the new widthheight - the new heightvoid setWidth(GraphicsAlgorithm ga, int width)
ga - graphics algorithmwidth - the new width