Hi,
thanks for your answer. I've been looking for a work-around:
Since fillShape(...) is not supported on j2me, this isn't an option.
In my special case it is ok to split the polygon into triangles.
Although I thought fillTriangle will invoke fillPolygon internally, this actually does work, and is even faster.
Even g.fillTriangle(10, 20, 20, 20, 30, 20); works, which should invoke this (and result in an error, but doesn't):
g.fillPolygon(new int[]{10, 20, 30}, new int[]{20, 20, 20}, 3);
So this works, but I don't know why :/
Or doesn't fillTriangle invoke fillPolygon?
Best regards, Matthias