您的位置:首页 > 其它

切割和翻转图片的方法

2011-03-01 15:08 274 查看
drawRegion(Image src, int x_src, int y_src, int width, int height, int transform, int x_dest, int y_dest, int anchor)

参数解释

Image src, 图片

int x_src, 从这个图片的x坐标开始截取

int y_src,
int width, 截取宽度
int height,
int transform, 旋转方式(0:不旋转,1...   一直到7,你可以自己试下)
int x_dest, 画到屏幕的位置的x坐标
int y_dest,
int anchor Graphics.LEFT|Graphics.TOP
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: