80,492
社区成员
发帖
与我相关
我的任务
分享
protected void onDraw(Canvas canvas){
super.onDraw(canvas);
Matrix car_matrix = new Matrix();
image_car = BitmapFactory.decodeStream(this.getResources().openRawResource(R.drawable.car));
car_matrix.preRotate(angle,spinCenterX,spinCenterY);
canvas.drawBitmap(image_car, car_matrix, null);
}
