Skip to content

Commit

Permalink
更新了jar包
Browse files Browse the repository at this point in the history
  • Loading branch information
zzhoujay committed May 19, 2016
1 parent 39986ac commit a319433
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,25 @@ LowPoly.generate(inputStream,outputStream);
```
或者
```
/**
* 生成low poly风格的图片
*
* @param inputStream 源图片
* @param outputStream 输出图片流
* @param accuracy 精度值,越小精度越高
* @param scale 缩放,源图片和目标图片的尺寸比例
* @param fill 是否填充颜色,为false时只绘制线条
* @param format 输出图片格式
* @param antiAliasing 是否抗锯齿
* @param pointCount 随机点的数量
* @throws IOException
*/
LowPoly.generate(inputStream, outputStream, accuracy, scale, fill,format, antiAliasing, pointCount);
```

### jar包使用方法

[下载](lib/LowPoly-1.0.jar)
[下载](lib/LowPoly-1.1.jar)

```
java -jar LowPoly-1.0.jar input_filename output_filename
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group 'com.zzhoujay.lowpoly'
version '1.0'
version '1.1'

apply plugin: 'java'

Expand Down
2 changes: 1 addition & 1 deletion lib/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Created by .ignore support plugin (hsz.mobi)
!LowPoly-1.0.jar
!LowPoly-1.*.jar

0 comments on commit a319433

Please sign in to comment.