Hey, i'm working with canvas.
[code]
GraphicsContext g2d;
g2d.strokeRect(x, y, w, h); //Rect gets drawn.
g2d.setStroke(Color.WHITE); //Strokes are white, works as well.
g2d.setFill(Color.BLUE); //Nothing happens. i expect the rectangle to be filled blue. Am i doing something wrong?
[/code]
Thanks y'all.
edit: lmao, trying to format my text.