Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 598 Bytes

painter.md

File metadata and controls

22 lines (16 loc) · 598 Bytes

Painter

Android Layer Type: S(Software < api 28 >= None), H(Hardware)

  import { Painter,PainterS , PainterH } from 'react-native-painter'
  
    <Painter style={styles.Painter} 
        viewBox={[0,0,24,24] } align='xMidYMid' aspect='meet'
    >
            //elements
    </Painter>

Props

Name description type default
viewBox defines the position and dimension, in user space, of an Painter viewport. Array[Number] (4) undefined
align the aligment String xMidYMid
aspect the aspect ratio String meet