react-native-canvas
react-native-canvas copied to clipboard
A Canvas component for React Native
Hi, i made folllowing code: ```javascript useEffect(() => { const canvas = canvasRef.current; if (canvas === null) return; canvas.width = canvasWidth; canvas.height = canvasHeight; let context = canvas.getContext('2d'); const image...
When I use getImageData(), I have to wait for a long time to get data, which is unbearable. Why is this? ImgWH=360,pixelRatio=3 and the image pixel is 360 * 360...
Hello, I need to retrieve the context of a canvas, here is what I have tried: ``` import React, { Component } from 'react'; import Canvas from 'react-native-canvas'; import {...
Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js) from 0.7.28 to 0.7.33. Changelog Sourced from ua-parser-js's changelog. Version 0.7.33 / 1.0.33 Add new browser : Cobalt Identify Macintosh as an Apple device Fix ReDoS vulnerability Version...
Bumps [json5](https://github.com/json5/json5) from 2.1.0 to 2.2.3. Release notes Sourced from json5's releases. v2.2.3 Fix: [email protected] is now the 'latest' release according to npm instead of v1.0.2. (#299) v2.2.2 Fix: Properties...
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2. Release notes Sourced from decode-uri-component's releases. v0.2.2 Prevent overwriting previously decoded tokens 980e0bf https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.1...v0.2.2 v0.2.1 Switch to GitHub workflows 76abc93 Fix issue where decode...
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2. Release notes Sourced from decode-uri-component's releases. v0.2.2 Prevent overwriting previously decoded tokens 980e0bf https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.1...v0.2.2 v0.2.1 Switch to GitHub workflows 76abc93 Fix issue where decode...
Hi! I'm new with react native so this could be my mistake but neither the sample code does not work for me, the canvas remain empty. So I try this...
This is part of the code: the function is used to determine the effective click range,but the return value has a large deviation by using isPointInStroke. ``` cxt = canvas.getContext('2d');...