记surfaceView和Paint的方法。

Paint

-------------------------------------------------------------------------------

消除锯齿

paint.setFlags(Paint.ANTI_ALIAS_FLAG)

paint.setAntiAlias(true);

 

设置paint的粗细

paint.setStrokeWidth(width);

 

-------------------------------------------------------------------------------

 

你可能感兴趣的:(记surfaceView和Paint的方法。)