文件名称:Name
介绍说明--下载内容来自于网络,使用问题请自行百度
把“汤一平老师你好”写在网页上,围绕既定的中心点翻转和环绕旋转。
编程技巧说明:
名字旋转处理:为实现立体感效果添加了缩放系数;
用Runnable接口创建多线程;
名字画法及处理是用drawline()方法实现的;
坐标变换公式的应用;
背景颜色设置为绿色,大自然的颜色,看起来更亲切;
类说明:
程序首先调用init()设置初值等,然后调用start()方法,在此方法中创建一个新的线程runner,并调用线程的start()方法,并从写线程的run()方法。调用start()方法之后,paint()被调用,此方法用来画图。-" Hello Mr.Tang Yiping" written on the webpage, established around the center point of the flip and rotate around.
Programming skills:
Name: rotary processing to achieve the three-dimensional effect is added to the scaling coefficient
Runnable interface to create multiple threads
Name of descr iptive and treatment is the use of the drawLine ( ) method to achieve
The application of coordinate transformation formula
Sets the background color is green, the color of nature, looks more friendly
Class descr iption:
The program first call init ( ) set the initial value, and then call the start ( ) method, in this method creates a new thread runner thread, and call start ( ) method, and from the write thread run ( ) method. Calling start ( ) method, paint ( ) is called, this method is used for drawing.
编程技巧说明:
名字旋转处理:为实现立体感效果添加了缩放系数;
用Runnable接口创建多线程;
名字画法及处理是用drawline()方法实现的;
坐标变换公式的应用;
背景颜色设置为绿色,大自然的颜色,看起来更亲切;
类说明:
程序首先调用init()设置初值等,然后调用start()方法,在此方法中创建一个新的线程runner,并调用线程的start()方法,并从写线程的run()方法。调用start()方法之后,paint()被调用,此方法用来画图。-" Hello Mr.Tang Yiping" written on the webpage, established around the center point of the flip and rotate around.
Programming skills:
Name: rotary processing to achieve the three-dimensional effect is added to the scaling coefficient
Runnable interface to create multiple threads
Name of descr iptive and treatment is the use of the drawLine ( ) method to achieve
The application of coordinate transformation formula
Sets the background color is green, the color of nature, looks more friendly
Class descr iption:
The program first call init ( ) set the initial value, and then call the start ( ) method, in this method creates a new thread runner thread, and call start ( ) method, and from the write thread run ( ) method. Calling start ( ) method, paint ( ) is called, this method is used for drawing.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Name.java
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.