Closed tomnotcat closed 5 years ago
Can I use canvas 2d api, like web canvas.getContext("2d")
For some 2d drawing apps (like drawing board), 2d is simpler.
Export 2d api (also based on web standard).
import { CanvasView } from "react-native-webgl";
not really relevant to this project. it implements webgl context, not 2d context (which could be another lib)
Feature Request
Can I use canvas 2d api, like web canvas.getContext("2d")
Why it is needed
For some 2d drawing apps (like drawing board), 2d is simpler.
Possible implementation
Export 2d api (also based on web standard).
Code sample
import { CanvasView } from "react-native-webgl";