void android.graphics.Canvas.translate(float dx, float dy)
public void translate (float dx, float dy)
Since: API Level 1
Preconcat the current matrix with the specified translation
在当前坐标的基础上平移
Parameters
dx
The distance to translate in X
在X方向上平移的距离
dy
The distance to translate in Y
在Y方向上平移的距离