Skip to content

Commit 6ed1278

Browse files
committed
ver 1.1.1
1 parent 026ee3e commit 6ed1278

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ import {ClipPathView , ClipPathViewH } from 'react-native-clippathview'
6262
| aspect | aspect ratio | String | meet |
6363
| fillRule | determines what side of a path is inside a shape | String | nonzero |
6464
| strokeWidth | defines the thickness of a line (mobile) | Number | 1
65-
| strokeCap | line cap | string (mobile) | 'butt' |
66-
| strokeJoin | line join | string (mobile)| 'miter' |
65+
| strokeCap | line cap (mobile) | string | 'butt' |
66+
| strokeJoin | line join (mobile) | string | 'miter' |
6767
| strokeMiter | control the behavior of miter (mobile) | Number | 4 |
68-
| strokeStart | the start | Number (mobile) | 0 |
69-
| strokeEnd | the end | Number (mobile) | 1 |
68+
| strokeStart | the start (mobile) | Number | 0 |
69+
| strokeEnd | the end (mobile) | Number | 1 |
7070

7171
<br>
7272

android/src/main/java/com/jjlf/rnclippath/ClipPathProps.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public float getFillOpacity(){
5858
return ModUtil.clamp(mFillOpacity);
5959
}
6060
public Path.FillType getFillRule(){
61-
return mFillRule.equals("evenodd ") ? Path.FillType.EVEN_ODD : Path.FillType.WINDING;
61+
return mFillRule.equals("evenodd") ? Path.FillType.EVEN_ODD : Path.FillType.WINDING;
6262
}
6363

6464
public int getStrokeColor(){

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "react-native-clippathview",
33
"title": "React Native ClipPath",
4-
"version": "1.1.0",
4+
"version": "1.1.1",
55
"description": "ClipPath Android Web IOS",
66
"main": "index.js",
77
"files": [

0 commit comments

Comments
 (0)