如何拟合角以使圆

时间:2019-07-14 18:11:19

标签: react-native

我有3个角图像,它们一起创建了一个圆,如何在代码中拟合所有这些图像呢?

以下是我正在尝试执行的代码:

View style={{ flex: 1, justifyContent: 'center'}}>
      <TouchableOpacity
          style={{`enter code here`
            width: 380,
            height: 220}}>
        <Image
            style={{
              width: 380,
              height: 220}}
            source={require('../imgs/saude_menu.png')}
        />
      </TouchableOpacity>
      <View style={{ flexDirection: 'row' }}>
      <TouchableOpacity
          style={{
            paddingTop: 160,
            width: 240,
            height: 330}}>
        <Image
            style={{
              width: 240,
              height: 330,
              overflow: 'hidden'}}
            source={require('../imgs/Financeiro_menu.png')}
        />
      </TouchableOpacity>
      <TouchableOpacity
          style={{
            paddingTop: 160,
            width: 240,
            height: 330}}>
        <Image
            style={{
              width: 240,
              height: 330}}
            source={require('../imgs/Tecnologia_menu.png')}
        />
      </TouchableOpacity>
      </View>
    </View>

现在是什么:

What is now

我想做什么:

What I want to do

预先感谢

0 个答案:

没有答案