强烈建议使用最新框架Doodle
It is highly recommended to use the latest framework Doodle
(该项目已经重构,旧代码暂时不维护了,所以推荐还是使用最新框架Doodle)吧!也希望大伙支持!!!)
android图片涂鸦,具有设置画笔,撤销,缩放移动等功能。Graffiti for android.
(该项目已经重构,旧代码暂时不维护了,所以推荐还是使用最新框架Doodle)吧!也希望大伙支持!!!)
大神,你好,我这边是直接从网下下载的图片,不是从本地库涂鸦,然后我一直跳转不到GraffitiActivity里面去,
Intent intent = new Intent(this, GraffitiActivity.class);
GraffitiParams params=new GraffitiParams();
intent.putExtra(GraffitiActivity.KEY_PARAMS, params );
startActivity(intent);
这样跳过不去
你不妨 考虑 继承SurfaceView 来实现
你好,在此库基础上算出涂鸦覆盖图片的面积,有好的方法吗?
作者,您好,非常感谢您写了这个框架并开源,但实在有些复杂,作为新手的我不是很看的明白,目前我遇到的问题是比如我在图片上画一条直线,我需要保存这条直线上的所有的点,如果再画一条直线,我需要再保存一下这条直线上的点.还有就是如果撤销的话我得取消保存点,请问这些如何操作(如果实现困难可以不考虑撤销操作);非常感谢
图片加载后周围全是黑色框(不能和图片一样大么),黑色的部分涂鸦了再使用橡皮擦功能去不掉啊
我现在是想要图片在缩放的过程中也是可以涂鸦的 而不是点一下M才能涂鸦 应该怎么做了 帮帮忙啊
我想知道GraffitiView里面的到文字的左边和文字信息,就是默认不旋转不平移的情况下,能在Up事件里面得到吗还是哪里
mGraffitiView.rotate(mGraffitiView.getGraffitiRotateDegree() + 90);之后
mGraffitiView.getPaintSize()这个值变成170多
请问一下:一开始是点击事件 ImageSelectorActivity.startActivityForResult(REQ_CODE_SELECT_IMAGE, getActivity(), null, false);
然后 响应CODE 进行 操作么?requestCode == REQ_CODE_SELECT_IMAGE 之后的操作完全没有响应,只是跳转选择图片,确认就退出了(我是没有写案例的 MainActivity ,在一个fragment中点击跳转后,到选择图片,然后确认。就没有进去,直接关闭了。我需要获取到修改后的图片路径)
现在如果涂鸦一张 8000 x 6000 的图片,大部分机器加载到Bitmap去显示时,已经挂了,涂鸦步骤都无法继续。
android.view.WindowLeaked: Activity cn.hzw.graffiti.GraffitiActivity has leaked window DecorView@770551d[] that was originally added here
at android.view.ViewRootImpl.(ViewRootImpl.java:522)
at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:338)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:93)
at android.app.Dialog.show(Dialog.java:328)
at cn.hzw.graffiti.GraffitiActivity.createGraffitiText(GraffitiActivity.java:305)
at cn.hzw.graffiti.GraffitiActivity.access$700(GraffitiActivity.java:45)
at cn.hzw.graffiti.GraffitiActivity$1.onCreateSelectableItem(GraffitiActivity.java:276)
at cn.hzw.graffiti.GraffitiView.onTouchEvent(GraffitiView.java:252)
at android.view.View.dispatchTouchEvent(View.java:10223)
Is this an implementation of Graffiti input method for Android? Would you mind writing a ReadMe file in English?
hi,想请问下博主,在现有项目的基础上想增强涂鸦可拖动,删除功能(类似图层拖动删除)难度大吗? 博主的实现思路大概是怎样的,有哪些难点呢。 谢谢啦,想了好一会,感觉还是不太会造轮子
想在这个基础上添加文字,楼主能不能给个思路
thanks
无论是androids:1.1.+还是1.1,都没有graffiti开头的文件
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.