www.txbs.net > sEtstrokECAp

sEtstrokECAp

public DrawView(Context context, AttributeSet attrs) { super(context, attrs); // 获取屏幕尺寸 view_height = context.getResources().getDisplayMetrics().he...

BasicStroke bs_3=new BasicStroke(16f,BasicStroke.CAP_SQUARE,BasicStroke.JOIN_ROUND); g_2d.setStroke(bs_1); g_2d.draw(line_1); g_2d.setStroke(bs...

BasicStroke bs=new BasicStroke(2f,BasicStroke.CAP_BUTT,BasicStroke.JOIN_BEVEL); //创建一个供画笔选择线条粗细的对象 g2d.setStroke(bs); //改变线条的粗...

网站地图

All rights reserved Powered by www.txbs.net

copyright ©right 2010-2021。
www.txbs.net内容来自网络,如有侵犯请联系客服。zhit325@qq.com