diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index b04f4fc..bc1663b 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -9,45 +9,10 @@
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
@@ -57,7 +22,7 @@
-
+
@@ -130,6 +95,7 @@
1704906142673
-
+
+
+ 1711275772486
+
+
+
+ 1711275772487
+
+
@@ -475,6 +449,7 @@
-
+
+
\ No newline at end of file
diff --git a/README.md b/README.md
index 276bc30..b5bf53b 100644
--- a/README.md
+++ b/README.md
@@ -6,8 +6,6 @@ https://github.com/rroohit/ImageCropView/assets/36406595/c92d73d9-bc7e-49d5-abaf
-
-
## Including in your project
@@ -19,7 +17,7 @@ Add this dependency to your **module-level** `build.gradle` in `dependencies` se
dependencies {
//...other repositories
- implementation 'io.github.rroohit:ImageCropView:2.1.0'
+ implementation 'io.github.rroohit:ImageCropView:2.2.0'
}
```
@@ -39,13 +37,18 @@ imageCrop = ImageCrop(bitmap)
// You can customize ImageCropView with following attributes.
imageCrop.ImageCropView(
- modifier = Modifier, //must provide with size
+ modifier = Modifier,
guideLineColor = Color.LightGray,
guideLineWidth = 2.dp,
- edgeCircleSize = 5.dp
+ edgeCircleSize = 5.dp,
+ showGuideLines = true,
+ cropType = CropType.SQUARE
)
-imageCrop.onCrop() //will return the cropped bitmap.
+imageCrop.onCrop() // To get the cropped image in bitmap format.
+
+// Crop Types param avail...
+// cropType = CropType.SQUARE, CropType.FREE_STYLE
```
diff --git a/gradle.properties b/gradle.properties
index cf2d487..9a56eb6 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -17,12 +17,13 @@ systemProp.org.gradle.internal.http.socketTimeout=120000
GROUP=io.github.rroohit
POM_ARTIFACT_ID=ImageCropView
-SNAPSHOT=2.1.0-SNAPSHOT
+VERSION_NAME=2.2.0
+SNAPSHOT=2.2.0-SNAPSHOT
POM_NAME=ImageCropView
POM_DESCRIPTION=Jetpack Compose Image Crop View.
POM_INCEPTION_YEAR=2024
-POM_URL=https://github.com/username/mylibrary/
+POM_URL=https://github.com/rroohit/ImageCropView/
POM_SCM_URL=https://github.com/rroohit/ImageCropView/
POM_SCM_CONNECTION=scm:git:github.com/rroohit/ImageCropView.git
@@ -38,5 +39,6 @@ POM_DEVELOPER_URL=https://github.com/rroohit/
POM_DEVELOPER_EMAIL=crohitp9@gmail.com
SONATYPE_HOST=S01
+#SONATYPE_HOST=CENTRAL_PORTAL
RELEASE_SIGNING_ENABLED=true
SONATYPE_AUTOMATIC_RELEASE=true
\ No newline at end of file