【文件属性】:
文件名称:Canvas2D:Java中的简单像素处理库
文件大小:24KB
文件格式:ZIP
更新时间:2021-05-23 12:15:10
Java
画布2D
Canvas2D使您可以轻松操纵像素阵列
// Creating the canvas
Canvas2D canvas = new Canvas2D ( 800 , 600 , Color . white);
canvas . setStrokeColor( Color . black);
简单的形状
点和线
// Drawing a point
canvas . setRGB( 10 , 10 , Color . red);
// Drawing lines
canvas . drawLine( new Point ( 40 , 35 ), new Point ( 40 , 125 ));
canvas . drawLine( new Point ( 160 , 35 ), new Point ( 160 , 125 ));
canvas . drawLine( new
【文件预览】:
Canvas2D-master
----ComputerVision.iml(425B)
----src()
--------fr()
----canvas.png(4KB)
----.idea()
--------misc.xml(669B)
--------compiler.xml(686B)
--------uiDesigner.xml(9KB)
--------description.html(97B)
--------modules.xml(268B)
--------project-template.xml(89B)
--------copyright()
--------vcs.xml(180B)
----README.md(3KB)