java-2d
Is there any Java Framework to manipulate/draw a Cartesian plane?
I would like to know if there is any Java Framework or resource to draw and/or manipulate a Cartesian Plane. Obviously, it can be done using just Java 2d, but implement some resources like \"zoom in\"[详细]
2023-01-28 04:38 分类:问答Java2D Graphics anti-aliased
I am new to Java and trying to use Java2D Graphics to create a Image. But the output is coming as anti-aliased. I tried many ways to rectify it but doesn\'t work. The characters are getting distorted[详细]
2023-01-27 06:25 分类:问答Hardware accelerate bitmap drawing in java
I want to be able to draw consecutive bitmaps (of type BufferedImage.TYPE_INT_RGB) of a video as quickly as possible in java. I want to know the best method in doing so. Does anyone have any advice wh[详细]
2023-01-24 20:16 分类:问答per-pixel collision using getRGB of a BufferedImage (Java2D Api)
Hello I\'m currently working on a 2D platformer game. I would like 开发者_运维技巧to have per-pixel collisions between my player (a Rectangle) and a freeform terrain (uses slopes, a BufferedImage).[详细]
2023-01-22 06:12 分类:问答How to effectively render video in Java (AWT??)
In my project I\'ve got a class FrameProducer firing events each time a video frame has been created. Each frame is an image returned as an java.awt.Image.BufferedImage object.[详细]
2023-01-20 00:09 分类:问答Suitable platform for a 2D simulator using java
I have to do 开发者_开发问答my final year project and I\'m planning to use a visual simulator to simulate it. So I have to create a basic simulator and the program would be run in java. But I have a p[详细]
2023-01-16 14:18 分类:问答java2d and scale
when I scale my shape [Rectangle] with g2d.scale(2,2) or with AffineTransform , I can\'t detect correct hit on shape because my shape sca开发者_如何转开发le still same as previous and only view of sha[详细]
2023-01-15 00:53 分类:问答is it better/faster to paint an image as the background of a button or use the Java2D to paint it
Say I have a button and want to change the background b开发者_Go百科utton to a gradient, is it better/faster to draw a gradient using Java2D or just get an image with that gradient and put it in the b[详细]
2023-01-14 01:11 分类:问答how to use setRGB() after modifying pixels? Do I need to use Hexadecimal?
For my project, I have to read each pixel in an image, perform a math operation on each pixel, then display the results of the modified pixel in an updated image. For this example, I took the square r[详细]
2023-01-13 17:15 分类:问答How to set different strokes on a Java 2D GeneralPath?
I want to draw a math symbol with GeneralPath. GeneralPath gp1 = new GeneralPath(); gp1.moveTo( 50, 10 );[详细]
2023-01-12 18:36 分类:问答
加载中,请稍侯......