daniel-luberda / DLToolkit.Forms.Controls

Xamarin.Forms Custom Controls
Apache License 2.0
394 stars 182 forks source link

can't move image to the desired crop area #275

Open kubaizi opened 5 years ago

kubaizi commented 5 years ago

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" >

`
kubaizi commented 5 years ago

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