自定義View--繪製

一、paint相關 Paint.setStyle(Style style) 設置繪製模式:實心(FILL)、空心(STROKE) Paint.setColor(int color) 設置顏色 Paint.setStrokeWidth(float width) 設置線條寬度 Paint.setStrokeCap(int cap)  設置端點樣式:圓頭 (ROUND)、平頭 (BUTT) 和方頭 (S
相關文章
相關標籤/搜索