Search found 2 matches

by michal.r
Thu Jan 28, 2016 3:41 pm
Forum: FXGraphics2D
Topic: Wrong parameter order in drawImage()
Replies: 2
Views: 27222

Re: Wrong parameter order in drawImage()

Thanks!
by michal.r
Wed Jan 27, 2016 7:27 pm
Forum: FXGraphics2D
Topic: Wrong parameter order in drawImage()
Replies: 2
Views: 27222

Wrong parameter order in drawImage()

Hello, there is a serious bug in FXGraphics2D.drawImage() in version 1.2.1 FXGraphics2D.java, line 1642. There is: BufferedImage img2 = new BufferedImage(BufferedImage.TYPE_INT_ARGB, w, h); Should be: BufferedImage img2 = new BufferedImage(w, h, BufferedImage.TYPE_INT_ARGB); See https://docs.oracle....