腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(6243)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
2
回答
旋转
graphics2D
创建缓冲图像 JScrollPane editorScrollPane; BufferedImage bi;
Graphics2D
浏览 5
修改于2011-12-08
得票数 0
回答已采纳
2
回答
拿到
Graphics2D
了?
public void paint(Graphics g){ g2.draw(circle);
Graphics2D
g2 = (
Graphics2D
)g; 为什
浏览 4
提问于2014-02-11
得票数 1
回答已采纳
1
回答
graphics2D
列表
@Override super.paintComponent(g); g2d.setColor(Color.RED); g2d.fillOval(locX, locY, 10, 10);
浏览 4
修改于2016-10-17
得票数 2
回答已采纳
3
回答
Graphics2D
-
Graphics2D
对象上的旋转形状
我有一个
Graphics2D
对象,我用它来绘制Canvas。我在Canvas上绘制多个形状,并且只想转换其中的一个(或部分)。我会尽量保持这个简单: ... // Draw shape 1 ... // Draw
浏览 6
修改于2011-11-29
得票数 2
回答已采纳
1
回答
转换为
Graphics2D
有了swing,就可以实现这种转换了吗
Graphics2D
g2d = (
Graphics2D
) g;} 会一直有效吗?或者可以有不同的图形实现,而不仅仅是
Graphics2D
?
浏览 2
提问于2012-07-10
得票数 4
回答已采纳
1
回答
Java
Graphics2D
缩放
我在Java中使用
Graphics2D
缩放对象时遇到了困难。在我的paintComponent中,为了便于管理,我创建了两个
graphics2D
对象。然后我试着把它们放大。有关守则:public void paintComponent(Graphics g) { bac
浏览 3
提问于2015-02-28
得票数 1
回答已采纳
1
回答
Java:
Graphics2D
.*; int green = (int) (Math.random() *
浏览 31
修改于2016-09-06
得票数 2
回答已采纳
2
回答
SVG to Java
Graphics2D
有没有人能推荐一些从SVG数据生成
Graphics2D
对象的好方法?我见过Apache Batic lib,但看起来他们使用了一些JSVGCanvas来获取URI等…我想要一个
Graphics2D
的东西而不是JComponent。 谢谢你的建议!
浏览 0
提问于2012-03-30
得票数 3
回答已采纳
1
回答
多个
graphics2d
public void update(Graphics window) paint(window);{ back = (BufferedImage)(createImage(getWidth
浏览 0
提问于2012-09-27
得票数 2
回答已采纳
1
回答
Graphics2D
使用PostModern
Override super.paintComponent(g); AffineTransform xform = new AffineTransform(getWidth() / 4, 0,setTransform(xform); g2.dispose();
浏览 0
修改于2015-06-11
得票数 0
回答已采纳
1
回答
缩放
Graphics2D
对象
我现在有一个
Graphics2D
对象,它充当一个垂直坐标系(普通的x系统)。我想要实现缩放,它作用于鼠标侦听器。我曾经想过获得一个带有BufferedImage的机器人类,然后使用PixelGrabber放大,但是我想知道我是否可以直接使用
Graphics2D
而不使用图像对象。
浏览 2
提问于2011-03-08
得票数 0
1
回答
Graphics2d
和Jpanel
public void paintConponent(Graphics g)
Graphics2D
g2 = (
Graphics2D
) g; g2.setPaint(Color.RED
浏览 1
提问于2012-06-20
得票数 0
1
回答
Graphics2d
制作盒子
JPanel @Override //this section creates the box
Graphics2D
g2 = (
Graphics2D
) g;
Graphics2D
g2d = (
Graphics2D
) g;
浏览 19
修改于2020-10-21
得票数 0
3
回答
Java
Graphics2D
DrawString
嘿,伙计们,我有个小问题。我有一个面板,我在那里画了一根线。这是一个游戏,所以我不断地重新绘制分数,以便更新它。然而,当我再次绘制它时,它是在以前的分数之上绘制的,所以它看起来都乱七八糟的。有什么办法解决这个问题吗?
浏览 3
提问于2010-04-12
得票数 0
回答已采纳
2
回答
Graphics2D
性能问题
public Graphics draw(Graphics g, double scale, Point offset) {
Graphics2D
g2 = (
Graphics2D
) g;
浏览 1
修改于2014-07-23
得票数 2
1
回答
Java
Graphics2D
流?
在java中有没有一种方法可以使用
Graphics2D
API在远程java进程的屏幕上绘图?是否有API来流式处理和反序列化绘制指令? 或者我必须使用我自己的"api调用“序列化/反序列化机制?
浏览 1
提问于2011-09-20
得票数 2
回答已采纳
2
回答
用
Graphics2D
旋转
我目前正在试验
Graphics2D
和KeyListener,我目前正在测试旋转物体(在这里是五角大楼)。addKeyListener(this); init(); int height = getSize().height;
浏览 2
修改于2014-01-17
得票数 0
回答已采纳
2
回答
Graphics2D
和JComponent
.*; public void paintComponent(Graphics g){ g2.fillRect(0, 0, getWidth(), getHeight());java.awt.*; public void paintCompon
浏览 0
修改于2011-11-29
得票数 3
回答已采纳
1
回答
图形和
Graphics2D
的区别?
图形学和
Graphics2D
有什么区别? g.drawRect(25, 25, 20, 20); //use Graphics to paint rectangle g2.drawRect(0, 0, 20, 20); // use
Graphics2D
to paint rectangle }
浏览 1
提问于2013-10-13
得票数 12
回答已采纳
2
回答
将
Graphics2D
绘制到另一个
Graphics2D
可以从一个
Graphics2D
绘制到另一个
Graphics2D
让我解释一下。
浏览 0
提问于2013-08-19
得票数 5
第 2 页
第 3 页
第 4 页
第 5 页
第 6 页
第 7 页
第 8 页
第 9 页
第 10 页
第 11 页
点击加载更多
领券