I'm curious if there's any way to hard code a drawPolygon in Java. Usually you are supposed to do something like this
int[] x = {50,200,10};
int[] y = {20,300,50};
page.drawPolygon(x, y, 3);
and I am curious if there is any way to do something similar to this:
page.drawPolygon({50,200,10}, {20,300,50}, 3);