I\'m writing a widget that does some caching to avoid unecessary calls to Shape.draw on a bunch of shapes at every rep开发者_StackOverflow社区aint.
My program produces 10 x 10 tiles images of 3000x3000 pixel, one by one (currently saved to 100 files named image_x_y.jpg)
Is there any faster way to achieve padding 开发者_StackOverflow社区of pixels to a BufferedImage than drawing it centered on larger BufferedImage?BufferedImage has a constructor where you get to specif
I am generating some images using the Graphics2D interface, and occasionally I\'d like to be able to draw some text on the image and apply to it effects like the ones in Adobe Photoshop.
I would like to be able to zoom and unzoom on a Java2D scene made of Path2D.Double without thickening the lines, just by dilating the distances.
I have a java2d image defined in user space (mm) to print an identity card. The transformation to pixels is by using an AffineTransform for the required DPI (Screen or print).
I want开发者_运维百科 to increase the Line2D width. I could not find any method to do that. Do I need to actually make a small rectangle for this purpose?You should use setStroke to set a stroke of th
I\'m trying to print Invoices in a Java Swing applications. I do that by extending Printable and implement the method public int print(Graphics g, PageFormat pf, int page).
I recently updated my computer to a more powerful one, with a quad-core hyperthreading processor (i7), thus plenty of real concurrency available. Now I\'m occasionally getting the following error when
I am having multiple points in a plane and some hundreds of lines pass through those points. Some points can have more lines passing through them than other points. I want to show some kind of more gr