Open bekatd opened 2 years ago
Is it possible to get the coordinates of the guide when interaction ends, like onInteractionEnd function which will return top left width height values of the rectangle?
onInteractionEnd
top
left
width
height
<CropView ref={cropViewRef} onInteractionEnd={({top, left, width, height}) => {}} />
I want to use this lib for video cropping as a visual thing, to get coordinates and apply cropping
Is it possible to get the coordinates of the guide when interaction ends, like
onInteractionEnd
function which will returntop
left
width
height
values of the rectangle?I want to use this lib for video cropping as a visual thing, to get coordinates and apply cropping