e864. 取的显示器大小尺寸
2024-10-16 06:47:19
See also e670 缓冲图像转换为图像.
try {
Robot robot = new Robot(); // Capture a particular area on the screen
int x = 100;
int y = 100;
int width = 200;
int height = 200;
Rectangle area = new Rectangle(x, y, width, height);
BufferedImage bufferedImage = robot.createScreenCapture(area); // Capture the whole screen
area = new Rectangle(Toolkit.getDefaultToolkit().getScreenSize());
bufferedImage = robot.createScreenCapture(area);
} catch (AWTException e) {
}
Related Examples |
最新文章
- s:if 判断
- JQuery textarea中val(),text()
- 会写网页 就会写手机APP -- Hybrid Mobile Apps for ASP.NET Developers
- Spring AOP术语
- C语言考试解答十题
- 在asp.net页面上按回车会触发Imagebutton控件的Click事件
- Varnish缓存服务详解及应用实现
- document.createElement方法的使用
- JS对象或属性的不变性
- 【Springboot】Springboot整合Thymeleaf模板引擎
- 【算法】螺旋方阵 上交OJ1021
- 下载Chrome商店和Youtube资源
- Linux mail 邮件发送
- 2017《JAVA技术》预备作业-计科1502-19-何俏依
- 关于win10下JDK环境变量的配置以及关于JDK的一些说明
- 1.angular之Hello World
- mongodb 两小时入门
- RabbitMQ入门_01_简介与安装
- spring杂碎
- vim c++插件clang_complete
热门文章
- [AWS vs Azure] 云计算里AWS和Azure的探究(2.1)
- (原创)c++11改进我们的模式之改进访问者模式
- diocp3-服务器的连接上限是到底是多少?diocp3的一个装13测试(8W连接数)
- Spark SQL利器:cacheTable/uncacheTable【转】
- 【qt】QT 的信号与槽机制
- 【Socket】linux黑客之网络嗅探底层原理
- pom.xml里发布和下载包
- 邮箱登录form表单样例
- H3C AP实现定时重启
- 解密SVM系列(二):SVM的理论基础