Math类 基本方法,都被定义成static了: ...
分类:
其他好文 时间:
2018-09-03 02:34:11
阅读次数:
132
JavaScript引用问题 1:<script>标签引用嵌入html页面中,在外部引用中是JavaScript文件时必须用src属性设置相应的文件的URL。2:在不使用defer和async,<script>元素按照出现在页面的先后顺序依次的解析,标签位置在主要内容的后面:。</body>前面。3 ...
分类:
编程语言 时间:
2018-09-03 02:19:32
阅读次数:
166
旧版本获取节点1、获取body console.log(document.body); 2、获取img console.log(document.images); 3、获取a标签 console.log(document.links); 4、获取含有name属性的a标签 console.log(do ...
分类:
Web程序 时间:
2018-09-03 02:12:05
阅读次数:
168
Shape line = new Line2D.Float(x1, y1, x2, y2); Shape arc = new Arc2D.Float(x, y, w, h, start, extent, type); Shape oval = new Ellipse2D.Float(x, y, w,... ...
分类:
其他好文 时间:
2018-09-03 00:05:07
阅读次数:
249
Images in accelerated memory are much faster to draw on the screen. However, accelerated memory is typically limited and it is usually necessary for a ...
分类:
其他好文 时间:
2018-09-03 00:04:02
阅读次数:
182
// Get a pixel int rgb = bufferedImage.getRGB(x, y); // Get all the pixels int w = bufferedImage.getWidth(null); int h = bufferedImage.getHeight(null)... ...
分类:
其他好文 时间:
2018-09-03 00:03:16
阅读次数:
181
You can get the key that was pressed either as a key character (which is a Unicode character) or as a key code (a special value representing a particu ...
分类:
其他好文 时间:
2018-09-02 23:59:12
阅读次数:
298
JavaScript 4 练习1 <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> </head> <body> <script> //1、从弹框中录入一个字符 var c = ...
分类:
编程语言 时间:
2018-09-02 23:56:02
阅读次数:
235
This example demonstrates a 3x3 kernel that blurs an image. ...
分类:
其他好文 时间:
2018-09-02 23:45:34
阅读次数:
216
// This method returns the color model of an image public static ColorModel getColorModel(Image image) { // If buffered image, the color model is read... ...
分类:
其他好文 时间:
2018-09-02 23:41:25
阅读次数:
167