graphics2d
Display a Graphics2D as JPG in JSP
Is it possible to use Graphics2D in a servlet? And if I have a Graphics2D object, is it possible for me to convert it to a .jpg image and displ开发者_Go百科ay it in a JSP page?In my opinion yes, Rea[详细]
2023-03-15 06:07 分类:问答Is Interfacing both java.awt.Graphics2D and Html5 Canvas Context in GWT feasible?
I have a java library which heavily uses java.awt.Graphics2d. I want to port my library to html5 canvas by using gwt.[详细]
2023-03-13 17:31 分类:问答resizable angle
I have an angle in a frame (I draw it with two lines). I want to make it flexible to frame; I mean, when the user expands the frame angle also become expanded and vice versa. I tried a lot of examples[详细]
2023-03-13 09:57 分类:问答Java: Graphics or Graphics2D?
I am new to Java and have been trying to make some simple games in it with lots of images on screen. Since then I have been using the \'Graphics\' class to draw these images, strings and shapes, but I[详细]
2023-03-12 05:30 分类:问答Graphics arch not exact
I have t开发者_如何学JAVAo draw precise archs in java. I am currenlty using Graphics2D.fillArc(). The problem is that it only accepts ints and the archs are not precise and i cant make the archs degre[详细]
2023-03-10 04:08 分类:问答Painting in a BufferedImage inside Swing
Im working on a paint application written in java and running into a few (more) problems. I have a gui and a working program(kinda), my only problem is that the lines and graphics that the user draws[详细]
2023-03-08 05:50 分类:问答drawing layers using java graphics API
I\'m doing a simulator project that tests several A* based algorithms and show how they work and their results.[详细]
2023-03-08 01:24 分类:问答How to paint outside of paintComponent?
I have a开发者_Go百科 canvas that is drawing everything in a paintComponent() method. Is it possible to draw outside of paintComponent (without calling a method within paintComponent?)[详细]
2023-03-03 13:03 分类:问答Java Write Text Image with Specific Fonts
I\'m writing some text on top of an existing image and the font isn\'t very sharp.Is there some settings either with the Graphics2D or Font classes that help make fonts look nicer when writing text on[详细]
2023-03-02 10:03 分类:问答How to get the Shape of the transparent portion of a BufferedImage in Java?
I have BufferedImage image object开发者_运维技巧s which have transparent pixels. What I\'d like to get is Shape or Area objects which enclose the transparent portion of the image. You could try it tha[详细]
2023-03-02 01:43 分类:问答