Hi,
I installed Topcased 2.1 package.
I run my own model, where I wrote some method in:
public class UtworzenieFigure extends
org.topcased.draw2d.figures.GraphicWithLabelFigure {
.....
@Override
public void paintFigure(Graphics graphics) {
graphics.pushState();
int width = getBounds().width;
int height = getBounds().height;
int x = getBounds().x;
int y = getBounds().y;
graphics.setBackgroundColor(graphics.getForegroundColor());
graphics.fillOval(x + width / 4, y, width / 2, height / 2);
graphics.popState();
}}
When I run my model I saw an uncomfortably picture. Some little rectangle
was at bottom my figure. This is same with Topcased 2.0.
What is wrong ?
Jurek.
_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users