So, I've been blundering around trying to create distinctive appearances for a bunch of stereotypes ... nothing fancy, just some colors and line styles and I seem to be having a few issues with shape scripts ... possibly the expected thing, but it never hurts to ask. Issues, include:
Providing a shape script for a connector such as
shape main
{
setfillcolor(255,255,255);
setpen(204,255,204,3);
setlinestyle("dash");
rectangle(0,0,100,0);
}
gives me a dashed green line ... sort of. It doesn't color the arrowhead and the dashes are not always clear on the screen and in the printout they are more dash, dash space than even, particularly if at an angle, where they can get odd.
I would like to create a connector that was a double line or where the dashed line alternated with a different color (reason being that I have a number of connector stereotypes that appear in pairs, one summarizing the other at a higher level of component and I would like them to look similar, but have some distinctive aspect). I was able to draw a second line inside the border of a rectangle to get a double line, but can't seem to get anything similar to work with connectors. Penwidth, linestyle, and color all work, but I need one more variation. The double line approach shows fine in the shape script display, but not on the diagram. The best I have managed is to get a little extra color in there, but it may or may not show depending on line angle.
Ideas?