Implemented fast path for same borders/radii

This commit is contained in:
Nick Lockwood
2015-05-28 08:52:46 -07:00
parent 3b24f52a20
commit ff49d86aed
5 changed files with 490 additions and 333 deletions

View File

@@ -81,11 +81,15 @@ var styles = StyleSheet.create({
borderTopLeftRadius: 100,
},
border7: {
borderRadius: 20,
borderWidth: 10,
borderColor: 'rgba(255,0,0,0.5)',
borderRadius: 30,
overflow: 'hidden',
},
border7_inner: {
backgroundColor: 'blue',
flex: 1,
width: 100,
height: 100
},
});