Here is the output:
Here is the code:
var width = dc.getWidth();
var height = dc.getHeight();
var centerX = width>>1;
var centerY = height>>1;
var radius = height>>2;
dc.setColor(Gfx.COLOR_DK_GRAY, Gfx.COLOR_BLACK);
dc.fillPolygon([[centerX, centerY-radius],
[centerX+radius, centerY],
[centerX, centerY+radius],
[centerX-radius, centerY]]);
dc.setColor(Gfx.COLOR_WHITE, Gfx.COLOR_TRANSPARENT);
dc.drawRectangle(0, 0, width, height);
dc.drawCircle(centerX, centerY, radius);
Has anyone else noticed this, or is there something wrong in my code?