[英]React native transform background
我想問一下如何在react native中使用轉換樣式復制此圖像。 到目前為止,這是我的代碼,與圖片不完全相同:
這是要復制的:
這是我得到的:
backgroundColor: STATUS_BAR_COLOR, flex: 1, width: '100%', justifyContent: 'center', alignContent: 'center', alignItems: 'center', transform: [ { skewY: '-30deg' }, ], height: 150
我知道這不是一個完美的答案,但是此鏈接將為您提供幫助。 結合鏈接中給定形狀的代碼,您可以制作所需的大多數幾何形狀。 祝好運。 http://browniefed.com/blog/the-shapes-of-react-native/
[英]React Native Transform Origin
[英]is it possible to transform React to React native?
[英]Transform SVG to React Native Component
[英]react native background image
[英]react native background geolocation
[英]React Native Background Download
[英]react native 2 colors as background
[英]React native background process
[英]React native background service
[英]Background service in React Native
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.