最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

切割的形象拼图形状,机器人

SEO心得admin58浏览0评论
本文介绍了切割的形象拼图形状,机器人的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我想知道如何在运行时削减的拼图形式的图像机器人。什么其实我想要的是用户可以输入任何图像和它再制成的难题。

I want to know how to cut an image in jigsaw form in android at run time. What i actually want is user can enter any image and then made puzzle of it.

在Android的这样做的任何API或方法?

Any API or method for doing this in android ?

在此先感谢。

推荐答案

您可以使用在处理这方法以切成指定宽度和高度像素的新位图从x和y

You can use this method in Bitmap to cut it into a new BitMap of specified width and height pixels starting from specified pixel location of x and y

public static Bitmap createBitmap (Bitmap source, int x, int y, int width, int height)
发布评论

评论列表(0)

  1. 暂无评论