I am creating a uml profile in which I am trying to customize port stereotype.
The script used is as below,
shape main
{
setfillcolor(255,0,0); // (R,G,B)
startpath(); // Start to trace out a path
moveto(0,0);
lineto(0,40);
lineto(20,30);
lineto(40,40);
lineto(40,0);
lineto(0,0);
endpath(); // End tracing out a path
// Fill the traced path with the fill color
fillandstrokepath();
return;
}When I attach this stereotype object to a class, the size is coming properly, however when I select the shape, selected area is shown bigger than the shape.
Any idea on how to solve this problem?
thanks
harvinder