Skip to content

MarkHan1213/CustomView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

CustomView

DrawView
自定义的画图工具,可以通过修改DrawView中的DrawType属性来修改所绘制的图形
使用方式:drawView.setDt(DrawType.ROUND); //画圆形
		  drawView.setDt(DrawType.LINE); //画直线
		  drawView.setDt(DrawType.FREE); //涂鸦,即随便画
		  drawView.setDt(DrawType.RECT); //画矩形
		  ...
通过 setPaintColor(color);可以设置画笔颜色
	 setPaintStrokeWidth(width);可以设置画笔的宽度

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages