1 Star 0 Fork 0

韩振雄/DrawView

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
Apache-2.0
# DrawView ![drawview](https://github.com/ByoxCode/DrawView/blob/master/destacada.png) ![DrawView](https://img.shields.io/badge/drawview-1.3.1-blue.svg) ![DrawViewSnapshot](https://img.shields.io/badge/snapshot-1.0.2-purple.svg) ![Platform](https://img.shields.io/badge/platform-Android-green.svg) ![Language](https://img.shields.io/badge/language-Java-red.svg) Android view that allows the user to create drawings. Draw anything you like in your Android device from simple view. Customize draw settings like draw color, draw width or draw tools. Undo or redo actions it is possible with DrawView. ![undo redo gif](https://github.com/ByoxCode/DrawView/blob/master/2016.11.10_17.57.50.gif) ![text tool gif](https://github.com/ByoxCode/DrawView/blob/master/2016.11.10_18.00.25.gif) ![save bitmap gif](https://github.com/ByoxCode/DrawView/blob/master/2016.11.10_18.03.14.gif) ![zoom gif](https://github.com/ByoxCode/DrawView/blob/master/2017.04.01_04.53.15.gif) ![camera gif](https://github.com/ByoxCode/DrawView/blob/master/2017.05.04_02.56.52.gif) View example [APK](https://play.google.com/store/apps/details?id=com.byox.drawviewproject) Usage -------- With Gradle: ```groovy implementation 'com.byox.drawview:drawview:X.X.X' ``` or Maven: ```xml <dependency> <groupId>com.byox.drawview</groupId> <artifactId>drawview</artifactId> <version>X.X.X</version> <type>pom</type> </dependency> ``` Where **X.X.X** is the current version of DrawView Snapshot -------- Import from: ```groovy maven { url "https://raw.githubusercontent.com/ByoxCode/DrawView/snapshot/aar/snapshots/" } ``` With Gradle: ```groovy implementation 'com.byox.drawview:drawview:X.X.X-SNAPSHOT' ``` or Maven: ```xml <dependency> <groupId>com.byox.drawview</groupId> <artifactId>drawview</artifactId> <version>X.X.X-SNAPSHOT</version> <type>pom</type> </dependency> ``` Where **X.X.X** is the current version of DrawView Snapshot How to use -------- Add DrawView to your layout ```xml <com.byox.drawview.views.DrawView android:id="@+id/draw_view" android:layout_width="match_parent" android:layout_height="match_parent" app:dv_draw_alpha="255" app:dv_draw_anti_alias="true" app:dv_draw_color="@color/colorAccent" app:dv_draw_corners="round" app:dv_draw_dither="true" app:dv_draw_enable_zoom="true" app:dv_draw_font_family="default_font" app:dv_draw_font_size="12" app:dv_draw_max_zoom_factor="8" app:dv_draw_mode="draw" app:dv_draw_style="stroke" app:dv_draw_tool="pen" app:dv_draw_width="4" app:dv_draw_zoomregion_maxscale="5" app:dv_draw_zoomregion_minscale="2" app:dv_draw_zoomregion_scale="4" /> ``` Attributes -------- Please visit [Wiki](https://github.com/ByoxCode/DrawView/wiki) Donate -------- If this library is useful for you, and you like it, and if want to contribute for develop more libraries, you can buy me a beer. [![PayPal](https://www.paypalobjects.com/webstatic/mktg/logo/pp_cc_mark_37x23.jpg)](https://paypal.me/IngMedinaCruz) Apps that uses DrawView -------- Please feel free to contact me if you like to appear in this section. License -------- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

简介

暂无描述 展开 收起
Java
Apache-2.0
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hanzhenxiong/DrawView.git
[email protected]:hanzhenxiong/DrawView.git
hanzhenxiong
DrawView
DrawView
master

搜索帮助