int lineStyle, int lineWeight) {
setForm(form);
java.awt.Point loc = location(startX, startY);
int H = loc.x + distHorizontal;
int V = loc.y + distVertical;
Line line = GraphicFactory.newLine(loc.x, loc.y, H, V);
line.setLineStyle(lineStyle);
line.setLineWeight(lineWeight);
line.setVisible(true);
ColourChange.setForeground(line, penColor);
Parent.set(line, form);
processActions();
setXPen(form, loc.x + distHorizontal);
setYPen(form, loc.y + distVertical);