文件名称:htgjym
- 所属分类:
- android开发
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2016-06-02
- 文件大小:
- 910kb
- 下载次数:
- 0次
- 提 供 者:
- zhang******
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
一个画图软件,可以画直线、矩形、圆形、三角形、立方体、圆柱体。 直线可以延长、缩短、拖动;矩形、圆形、三角形需要可以拖动、改变大小。
实现方式:
一个主view类(一个自定义view),在主view类中定义了统一的paint、bitmap、canvas,以及子类中需要用到的3个点downPoint,movePoint,upPoint。
其他子类(画直线的view、画矩形的view)都是继承这个主view类。-A drawing software, you can draw a straight line, rectangle, circle, triangle, cube, cylinder. Straight line can be extended, shortened, drag rectangle, circle, triangle needs to be able to drag, change the size of.
Realization way:
A main view class (a custom view), in the main view class defines a unified paint, bitmap, canvas, as well as the sub class needs to use the 3 points movePoint, downPoint, upPoint.
Other sub categories (drawing a straight line of view, drawing rectangle view) are inherited the main view class.
实现方式:
一个主view类(一个自定义view),在主view类中定义了统一的paint、bitmap、canvas,以及子类中需要用到的3个点downPoint,movePoint,upPoint。
其他子类(画直线的view、画矩形的view)都是继承这个主view类。-A drawing software, you can draw a straight line, rectangle, circle, triangle, cube, cylinder. Straight line can be extended, shortened, drag rectangle, circle, triangle needs to be able to drag, change the size of.
Realization way:
A main view class (a custom view), in the main view class defines a unified paint, bitmap, canvas, as well as the sub class needs to use the 3 points movePoint, downPoint, upPoint.
Other sub categories (drawing a straight line of view, drawing rectangle view) are inherited the main view class.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
DrawDemo01
..........\.classpath
..........\.project
..........\.settings
..........\.........\org.eclipse.jdt.core.prefs
..........\AndroidManifest.xml
..........\assets
..........\bin
..........\...\AndroidManifest.xml
..........\...\classes
..........\...\.......\com
..........\...\.......\...\hsense
..........\...\.......\...\......\drawdemo01
..........\...\.......\...\......\..........\BuildConfig.class
..........\...\.......\...\......\..........\Draw_Circle.class
..........\...\.......\...\......\..........\Draw_Column.class
..........\...\.......\...\......\..........\Draw_Cube.class
..........\...\.......\...\......\..........\Draw_Line.class
..........\...\.......\...\......\..........\Draw_Path.class
..........\...\.......\...\......\..........\Draw_Rectangle.class
..........\...\.......\...\......\..........\Draw_triangle.class
..........\...\.......\...\......\..........\MainActivity$1$1.class
..........\...\.......\...\......\..........\MainActivity$1.class
..........\...\.......\...\......\..........\MainActivity.class
..........\...\.......\...\......\..........\MyDraw.class
..........\...\.......\...\......\..........\R$attr.class
..........\...\.......\...\......\..........\R$dimen.class
..........\...\.......\...\......\..........\R$drawable.class
..........\...\.......\...\......\..........\R$id.class
..........\...\.......\...\......\..........\R$layout.class
..........\...\.......\...\......\..........\R$menu.class
..........\...\.......\...\......\..........\R$string.class
..........\...\.......\...\......\..........\R$style.class
..........\...\.......\...\......\..........\R.class
..........\...\classes.dex
..........\...\DrawDemo01.apk
..........\...\res
..........\...\...\drawable-hdpi
..........\...\...\.............\ic_action_search.png
..........\...\...\.............\ic_launcher.png
..........\...\...\drawable-mdpi
..........\...\...\.............\drawable-ldpi
..........\...\...\.............\.............\ic_launcher.png
..........\...\...\.............\ic_action_search.png
..........\...\...\.............\ic_launcher.png
..........\...\...\drawable-xhdpi
..........\...\...\..............\ic_action_search.png
..........\...\...\..............\ic_launcher.png
..........\...\resources.ap_
..........\gen
..........\...\com
..........\...\...\hsense
..........\...\...\......\drawdemo01
..........\...\...\......\..........\BuildConfig.java
..........\...\...\......\..........\R.java
..........\ic_launcher-web.png
..........\libs
..........\....\achartengine-1.0.0.jar
..........\....\android-support-v4.jar
..........\proguard-project.txt
..........\project.properties
..........\res
..........\...\drawable-hdpi
..........\...\.............\ic_action_search.png
..........\...\.............\ic_launcher.png
..........\...\drawable-mdpi
..........\...\.............\drawable-ldpi
..........\...\.............\.............\ic_launcher.png
..........\...\.............\ic_action_search.png
..........\...\.............\ic_launcher.png
..........\...\drawable-xhdpi
..........\...\..............\ic_action_search.png
..........\...\..............\ic_launcher.png
..........\...\layout
..........\...\......\activity_main.xml
..........\...\menu
..........\...\....\activity_main.xml
..........\...\values
..........\...\......\dimens.xml
..........\...\......\strings.xml
..........\...\......\styles.xml
..........\...\values-large
..........\...\............\dimens.xml
..........\src
..........\...\com
..........\...\...\hsense
..........\...\...\......\drawdemo01
..........\...\...\......\..........\Draw_Circle.java
..........\...\...\......\..........\Draw_Column.java
..........\...\...\......\..........\Draw_Cube.java
..........\...\...\......\..........\Draw_Line.java
..........\...\...\......\..........\Draw_Path.java
..........\...\...\......\..........\Draw_Rectangle.java
..........\...\...\......\..........\Draw_triangle.java
..........\...\...\......\..........\MainActivity.java
..........\...\...\......\..........\MyDraw.java
..........\说明.htm