ViewAndGroup:Android 之View测量,绘制,自定义VIew,ViewGroup的测量,绘制,自定义ViewGroup

时间:2024-06-06 19:55:10
【文件属性】:

文件名称:ViewAndGroup:Android 之View测量,绘制,自定义VIew,ViewGroup的测量,绘制,自定义ViewGroup

文件大小:1.17MB

文件格式:ZIP

更新时间:2024-06-06 19:55:10

android Java

ViewAndGroup 基本图形的绘制 二阶贝塞尔曲线 @Override protected void onDraw(Canvas canvas) { super.onDraw(canvas); //绘制数据点和控制点 mPaint.setColor(Color.GRAY); mPaint.setStrokeWidth(20); canvas.drawPoint(start.x, start.y, mPaint); canvas.drawPoint(end.x, end.y, mPaint); canvas.drawPoint(control.x, control.y, mPaint); //绘制辅助线 mPaint.setStrokeWidth(4); canv


【文件预览】:
ViewAndGroup-master
----Android.gitignore(760B)
----gradlew.bat(2KB)
----gradlew(5KB)
----images()
--------newcustom.gif(74KB)
--------basic.jpg(11KB)
--------xiaomisport.gif(85KB)
--------baizer_two.gif(86KB)
--------baizer_three.gif(203KB)
--------custom_one.gif(56KB)
--------circleprogress.gif(629KB)
----gradle.properties(730B)
----app()
--------proguard-rules.pro(641B)
--------src()
--------.gitignore(7B)
--------build.gradle(1KB)
----gradle()
--------wrapper()
----.idea()
--------gradle.xml(626B)
--------misc.xml(4KB)
--------copyright()
--------compiler.xml(686B)
----.gitignore(602B)
----README.md(9KB)
----settings.gradle(15B)
----build.gradle(498B)

网友评论