是否可以借鉴Android的空缺数字?默认情况下圆和矩形填充。
Is it possible to draw unfilled figures on Android? By default circles and rectangles are filled.
您需要更改油漆
风格,中风,如果你只是想有没有填充的轮廓:
You need to change the Paint
style to stroke if you just want an outline with no fill:
Paint p = new Paint();
p.setStyle(Paint.Style.STROKE);