if(name instanceof String) name=pc.getVariable(Caster.toString(name));
Image img = Image.toImage(name);
if(xcoords.size()!=ycoords.size())
throw new ExpressionException("xcoords and ycoords has not the same size");
img.drawLines(toIntArray(xcoords), toIntArray(ycoords), isPolygon, filled);
return null;
}
private static int[] toIntArray(Array arr) throws PageException {
int[] iarr=new int[arr.size()];