UNPKG

@flyskywhy/react-native-gcanvas

Version:

A C++ native canvas 2D/WebGL component based on gpu opengl glsl shader GCanvas

6 lines (3 loc) 114 B
ctx.fillStyle = '#FF0000'; ctx.font = 30*ratio+"px Arial"; ctx.fillText("w3school.com.cn", 10*ratio, 50*ratio);