该页中,第十和十一行中的坐标计算中,得到的结果是错误的,300+100不应该是200,而是400
第253页倒数第二行代码:“canvas.drawRect(0, 0, getWidth, getHeight(), mPaint)”错误, 根据上下文的语义应该是“canvas.drawRect(left, top, right, bottom, mPaint)”
在第八章中我发现API中并没有AvoidXfermode和PixelXorXfermoder两个类,也许是我并没有找到,在谷歌的开发文档中,我也没有找到这两个类
restoreToCount()函数拼写错误。“resoreToCount”
第五行末尾diapatchDraw() 应该是dispatchDraw()
该页中,第十和十一行中的坐标计算中,得到的结果是错误的,300+100不应该是200,而是400
第253页倒数第二行代码:“canvas.drawRect(0, 0, getWidth, getHeight(), mPaint)”错误, 根据上下文的语义应该是“canvas.drawRect(left, top, right, bottom, mPaint)”
在第八章中我发现API中并没有AvoidXfermode和PixelXorXfermoder两个类,也许是我并没有找到,在谷歌的开发文档中,我也没有找到这两个类
restoreToCount()函数拼写错误。“resoreToCount”
第五行末尾diapatchDraw() 应该是dispatchDraw()