用java将二进制黑白像素点,画在正方形中
用java将二进制黑白像素点,画在正方形中
日期:2021-11-05 08:14:51 人气:1
import java.applet.*;
import java.awt.*;
import java.awt.geom.*;
public class Text extends Applet
{
public void paint(Graphics g)
{
g.drawRect(0 ,0, 28,28);//画正方形
g.drawLine(3, 3, 9, 3);
import java.awt.*;
import java.awt.geom.*;
public class Text extends Applet
{
public void paint(Graphics g)
{
g.drawRect(0 ,0, 28,28);//画正方形
g.drawLine(3, 3, 9, 3);