Home
Softono

React Native Touchvg

Open source MIT C++
12
Stars
2
Forks
1
Issues
4
Watchers
8 years
Last Commit

 About React Native Touchvg

TouchVG for React Native

Platforms

Web Self-hosted Cloud

Languages

C++

Links

Need Help Installing React Native Touchvg?

We provide expert installation service for this software. Our team will install, configure, and secure React Native Touchvg on your server. plans start at just $30.

React Native Touchvg

View on GitHub

react-native-touchvg

TouchVG for React Native

Usage

import React, { Component } from 'react';
import {View,} from 'react-native';
import { TouchVGView } from 'react-native-touchvg';

class App extends Component {

constructor(props) {
    super(props);
    this.state = {
      command: 'splines', /*Other commands:  select | erase | rect | ellipse |  triangle | line */
    }
  }

render() {
    return (
      <View style={{backgroundColor: '#fff'}}>
        <TouchVGView
          command={this.state.command}
          style={{ width: '100%', height: '100%', alignSelf: 'center' }} />
      </View>
    );
  }
}

NOTE

Based on https://github.com/rhcad/TouchVG projects.