rn-perfect-sketch-canvas icon indicating copy to clipboard operation
rn-perfect-sketch-canvas copied to clipboard

Option to move canvas around and also to allow background color.

Open abdullahIsa opened this issue 2 years ago • 4 comments

Hello, thanks very much for this package really awesome and works well but it would be great if additional options are added.

abdullahIsa avatar May 02 '22 09:05 abdullahIsa

Thanks! Options like?

wobsoriano avatar May 02 '22 09:05 wobsoriano

Thanks! Options like?

Options such as

  1. giving the canvas a background color that should reflect to the base64 or SVG or an image uri when drawing is done, reason because if a user uses a color marker to draw that's same as the preview background it will cause some drawings to look invincible, would be great if any desired background can be applied.
  2. ability to zoom or move the canvas around, this can be done using react-native-gesture-handler but also would be great if comes straight out of the box.
  3. height and width for base64 or a temporarily generated URI which will also have a height and width applied when the drawing is done, I have seen areas where the drawing looks soo small compared to how it was drawn.

correct me if there are better ways that this can be done on my side, thanks.

abdullahIsa avatar May 02 '22 17:05 abdullahIsa

I want this component to be as simple as possible so users can do whatever they want 😄

But I will take note of this

wobsoriano avatar May 03 '22 07:05 wobsoriano

@wobsoriano thanks for this amazing library, as pointed by @abdullahIsa, 3rd option is kind of a issue at the moment, base64 images are very small in size, will try to create a PR if able to fix it myself

fateh999 avatar May 04 '22 05:05 fateh999