else
} else {
  protected void myAddArrowHead(int direction){    if(arrowDirectionType==OMArrowHead.ARROWHEAD_DIRECTION_BOTH)      return;    if(arrowDirectionType==direction&&doArrowHead)      return;    if(direction==OMArrowHead.ARROWHEAD_DIRECTION_FORWARD){      if(arrowDirectionType==OMArrowHead.ARROWHEAD_DIRECTION_BACKWARD)	addArrowHead(OMArrowHead.ARROWHEAD_DIRECTION_BOTH);      else	addArrowHead(OMArrowHead.ARROWHEAD_DIRECTION_FORWARD);    }else if(direction==OMArrowHead.ARROWHEAD_DIRECTION_BACKWARD){      if(arrowDirectionType==OMArrowHead.ARROWHEAD_DIRECTION_FORWARD)	addArrowHead(OMArrowHead.ARROWHEAD_DIRECTION_BOTH);      else	addArrowHead(OMArrowHead.ARROWHEAD_DIRECTION_BACKWARD);    }  }