DLToolkit.Forms.Controls icon indicating copy to clipboard operation
DLToolkit.Forms.Controls copied to clipboard

can't move image to the desired crop area

Open kubaizi opened this issue 5 years ago • 1 comments

IMG-20190822-WA0028

i set the ImageCropView size to be 16:9

width = screenWidth height =screenWidth*(16/9)

but i cant move the image up. the image is not freely moving inside the cropping area.

thanks in advanced.

<imgcrop:ImageCropView Grid.Row="0" HeightRequest="{Binding ImageHeight}" WidthRequest="{Binding ImageWidth}" x:Name="cropView" Source="{Binding SourceImage}" Aspect="AspectFill" > <imgcrop:ImageCropView.PreviewTransformations> <fftransformations:CropTransformation /> </imgcrop:ImageCropView.PreviewTransformations> </imgcrop:ImageCropView>

kubaizi avatar Aug 22 '19 00:08 kubaizi

solved!! i just have to set CropHeightRatio,CropWidthRatio in CropTransformation

kubaizi avatar Aug 22 '19 13:08 kubaizi