terrylinla / react-native-sketch-canvas

A React Native component for drawing by touching on both iOS and Android.
MIT License
692 stars 450 forks source link

Feature Request: Redo and Rotate Image #159

Open ardipr193 opened 4 years ago

ardipr193 commented 4 years ago

Hi, the plugin works great! Thanks. Could you please add redo and rotate image please?

Thank you in advance.

ibad121don commented 2 years ago

Get the paths <SketchCanvas style={{flex: 1}} strokeColor={col} strokeWidth={7} // touchEnabled={false} ref={ref} onStrokeEnd={() => { var path = ref?.current?.getPaths(); setPaths(path); }} /> and onPress={() => { paths.map(e => { ref?.current?.addPath(e); }); }}>