diff --git a/README.md b/README.md index b27d0c8bb9d00a51f4f7a6eb8a94ae860dfeac1b..99594142cce12263ae9232da6d4d049559e6e279 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ - 基线版本:ImageSelector releases version v1.9.2 - 项目移植状态:主功能完成 - 调用差异:无 -- 开发版本:sdk5,DevEco Studio2.1 beta3 +- 开发版本:sdk5,DevEco Studio2.1 beta4 - 原项目Doc地址:https://github.com/donkingliang/ImageSelector #### 效果演示 @@ -115,6 +115,8 @@ CloudTest代码测试无异常 当前版本demo功能与原组件基本无差异 +当前版本demo,部分功能暂不支持模拟器运行。 + #### 版本迭代 - 0.0.1-SNAPSHOT diff --git a/ucrop/src/main/java/com/yalantis/ucrop/view/CropImageView.java b/ucrop/src/main/java/com/yalantis/ucrop/view/CropImageView.java index 67eb31b2d47b444d6956ed1db7916880645843b6..c3ef2e4ae6be0ae183d85d470093b6f64b6bf4b2 100644 --- a/ucrop/src/main/java/com/yalantis/ucrop/view/CropImageView.java +++ b/ucrop/src/main/java/com/yalantis/ucrop/view/CropImageView.java @@ -90,6 +90,8 @@ public class CropImageView extends TransformImageView { } /** + * 获取最大比例 + * * @return - maximum scale value for current image and crop ratio */ public float getMaxScale() { diff --git a/ucrop/src/main/java/com/yalantis/ucrop/view/OverlayView.java b/ucrop/src/main/java/com/yalantis/ucrop/view/OverlayView.java index 183bb137370fd16d5332a41858db68a53357ad9f..3a7d0c0478e0ae5c31e292d9819e9ff0a596af10 100644 --- a/ucrop/src/main/java/com/yalantis/ucrop/view/OverlayView.java +++ b/ucrop/src/main/java/com/yalantis/ucrop/view/OverlayView.java @@ -93,6 +93,7 @@ public class OverlayView extends Component implements Component.DrawTask, Compon } /** + * 设置剪切 * * @param cropGridRowCount cropGridRowCount */ @@ -224,6 +225,7 @@ public class OverlayView extends Component implements Component.DrawTask, Compon } } /** + * 更新剪切view * * @param touchX touchX * @param touchY touchY @@ -389,6 +391,7 @@ public class OverlayView extends Component implements Component.DrawTask, Compon } /** + * processStyledAttributes * * @param a a */ @@ -407,6 +410,7 @@ public class OverlayView extends Component implements Component.DrawTask, Compon } /** + * initCropFrameStyle * * @param a a */ @@ -423,6 +427,7 @@ public class OverlayView extends Component implements Component.DrawTask, Compon } /** + * initCropGridStyle * * @param a a */ diff --git a/ucrop/src/main/java/com/yalantis/ucrop/view/TransformImageView.java b/ucrop/src/main/java/com/yalantis/ucrop/view/TransformImageView.java index dd1b1d88c1cbeee7b49e8edcc4323d022bdbd5f1..542c6c4bc786395f809565598e440c9ed9d656ed 100644 --- a/ucrop/src/main/java/com/yalantis/ucrop/view/TransformImageView.java +++ b/ucrop/src/main/java/com/yalantis/ucrop/view/TransformImageView.java @@ -152,6 +152,7 @@ public class TransformImageView extends PositionLayout implements Component.Layo } /** + * setImageUri * * @param imageUri imageUri * @param outputUri outputUri @@ -184,6 +185,8 @@ public class TransformImageView extends PositionLayout implements Component.Layo } /** + * getCurrentScale + * * @return - current image scale value. * [1.0f - for original image, 2.0f - for 200% scaled image, etc.] */ @@ -203,6 +206,8 @@ public class TransformImageView extends PositionLayout implements Component.Layo } /** + * getCurrentAngle + * * @return - current image rotation angle. */ public float getCurrentAngle() {