react-native-image-crop-tools icon indicating copy to clipboard operation
react-native-image-crop-tools copied to clipboard

Is it possible to initialize the coordinates of the guide?

Open cmpdvd opened this issue 3 years ago • 0 comments

Is it possible to initialize the coordinates x, y of the guide? Currently we can change the aspectRatio property on the fly, but not x and y, the top left coordinates of the guide.


<CropView 
            ref={cropViewRef}
            keepAspectRatio = {item.keepAspectRatio}
            aspectRatio={item.aspectRatio}
            x={item.x} // <--
            y={item.y} // <--
 />

I would like to be able to display a cropped area on an image previously saved. Thanks.

cmpdvd avatar Jun 10 '22 13:06 cmpdvd