I have created a \"blob\" from Bezier curves (screenshot below) and would now like to shade it in such a way that it appears pseudo-3D, with darker shading on all \"left\" edges and lighter on all \"r
Im trying to get to grips wth java 2d graphics Ive basically got a JPanel with a backgrounfd image in it like so:
I\'ve 开发者_StackOverflowcreated a \"blob\" shape by patching cubic Bezier curves together (screenshot below).I\'d like to be able to detect the situation where a curve has crossed over either itself
I am using java.awt.geom.Rectangle2D.Double class to generate a rectangle. I want to generate a rectangle which is filled with a color (say green) and have a border (outline).
I have found a source code and i added it to my frame just for testing which it uses Java2D. But it thows an exception. I don\'t understand why.
I have a BufferedImage of type TYPE_INT_BGR.I need to do a pixel-by-pixel comparison to another BufferedImage to compute the \"distance\" between the two images.I have something that works, but is slo
I need a 2D coordinate system to which renders a user space coordinate system to swing components on the screen. Now that is exactly what Java2D does. But what I need further is to move the relative p
I have a JPanel for which I set some image as the background. I need to draw a bunch of circles on top of the image. Now the circles will be positioned based on some coordinate x,y, and the size will
Hi I\'m starting to work on this project where I need to have a picture (map of the US) and then I need to circles of different sizes on the map at different locations. Something like this: http://www
开发者_Go百科As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely soli