| }
public static void write(OMArc arc, Link link, LinkProperties props)
throws IOException {
LatLonPoint llp;
switch (arc.getRenderType()) {
case OMArc.RENDERTYPE_LATLON:
llp = arc.getLatLon();
LinkArc.write(llp.getLatitude(),
llp.getLongitude(),
arc.getRadius(),
arc.getStartAngle(),
arc.getExtentAngle(),
props,
link.dos);
break;
case OMArc.RENDERTYPE_XY:
LinkArc.write(arc.getX(),
arc.getY(),
arc.getWidth(),
arc.getHeight(),
arc.getStartAngle(),
arc.getExtentAngle(),
props,
link.dos);
break;
case OMArc.RENDERTYPE_OFFSET:
llp = arc.getLatLon();
LinkArc.write(llp.getLatitude(),
llp.getLongitude(),
arc.getOffX(),
arc.getOffY(),
arc.getWidth(),
arc.getHeight(),
arc.getStartAngle(),
|