1"use strict";(self.webpackChunkreact_native_website=self.webpackChunkreact_native_website||[]).push([["13317"],{3754(e,d,r){r.r(d),r.d(d,{metadata:()=>s,default:()=>x,frontMatter:()=>i,contentTitle:()=>l,toc:()=>c,assets:()=>h});var s=JSON.parse('{"id":"view-style-props","title":"View \u6837\u5F0F\u5C5E\u6027","description":"\u793A\u4F8B","source":"@site/versioned_docs/version-0.74/view-style-props.md","sourceDirName":".","slug":"/view-style-props","permalink":"/docs/0.74/view-style-props","draft":false,"unlisted":false,"editUrl":"https://github.com/reactnativecn/react-native-website/blob/production/cnwebsite/../cndocs/view-style-props.md","tags":[],"version":"0.74","frontMatter":{"id":"view-style-props","title":"View \u6837\u5F0F\u5C5E\u6027"},"sidebar":"\u7EC4\u4EF6","previous":{"title":"Text \u6837\u5F0F\u5C5E\u6027","permalink":"/docs/0.74/text-style-props"},"next":{"title":"\u5E03\u5C40\u4E8B\u4EF6\u5BF9\u8C61","permalink":"/docs/0.74/layoutevent"}}'),t=r(62540),n=r(43023);let i={id:"view-style-props",title:"View \u6837\u5F0F\u5C5E\u6027"},l,h={},c=[{value:"\u793A\u4F8B",id:"\u793A\u4F8B",level:3},{value:"Props",id:"props",level:2},{value:"<code>borderRightColor</code>",id:"borderrightcolor",level:3},{value:"<code>backfaceVisibility</code>",id:"backfacevisibility",level:3},{value:"<code>borderBottomColor</code>",id:"borderbottomcolor",level:3},{value:"<code>borderBottomEndRadius</code>",id:"borderbottomendradius",level:3},{value:"<code>borderBottomLeftRadius</code>",id:"borderbottomleftradius",level:3},{value:"<code>borderBottomRightRadius</code>",id:"borderbottomrightradius",level:3},{value:"<code>borderBottomStartRadius</code>",id:"borderbottomstartradius",level:3},{value:"<code>borderBottomWidth</code>",id:"borderbottomwidth",level:3},{value:"<code>borderColor</code>",id:"bordercolor",level:3},{value:"<code>borderEndColor</code>",id:"borderendcolor",level:3},{value:"<code>borderLeftColor</code>",id:"borderleftcolor",level:3},{value:"<code>borderLeftWidth</code>",id:"borderleftwidth",level:3},{value:"<code>borderRadius</code>",id:"borderradius",level:3},{value:"<code>backgroundColor</code>",id:"backgroundcolor",level:3},{value:"<code>borderRightWidth</code>",id:"borderrightwidth",level:3},{value:"<code>borderStartColor</code>",id:"borderstartcolor",level:3},{value:"<code>borderStyle</code>",id:"borderstyle",level:3},{value:"<code>borderTopColor</code>",id:"bordertopcolor",level:3},{value:"<code>borderTopEndRadius</code>",id:"bordertopendradius",level:3},{value:"<code>borderTopLeftRadius</code>",id:"bordertopleftradius",level:3},{value:"<code>borderTopRightRadius</code>",id:"bordertoprightradius",level:3},{value:"<code>borderTopStartRadius</code>",id:"bordertopstartradius",level:3},{value:"<code>borderTopWidth</code>",id:"bordertopwidth",level:3},{value:"<code>borderWidth</code>",id:"borderwidth",level:3},{value:"<code>opacity</code>",id:"opacity",level:3},{value:"<code>elevation</code>",id:"elevation",level:3}];function o(e){let d={a:"a",code:"code",div:"div",h1:"h1",h2:"h2",h3:"h3",hr:"hr",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,n.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(d.h3,{id:"\u793A\u4F8B",children:"\u793A\u4F8B"}),"\n",(0,t.jsx)(d.div,{className:"snack-player","data-snack-name":"ViewStyleProps","data-snack-description":"Example usage","data-snack-files":"%7B%22App.tsx%22%3A%7B%22type%22%3A%22CODE%22%2C%22contents%22%3A%22import%20React%20from%20%5C%22react%5C%22%3B%5Cnimport%20%7B%20View%2C%20StyleSheet%20%7D%20from%20%5C%22react-native%5C%22%3B%5Cnconst%20ViewStyleProps%20%3D%20()%20%3D%3E%20%7B%5Cn%20%20%20%20return%20(%5Cn%20%20%20%20%20%20%3CView%20style%3D%7Bstyles.container%7D%3E%5Cn%20%20%20%20%20%20%20%20%3CView%20style%3D%7Bstyles.top%7D%20%2F%3E%5Cn%20%20%20%20%20%20%20%20%3CView%20style%3D%7Bstyles.middle%7D%20%2F%3E%5Cn%20%20%20%20%20%20%20%20%3CView%20style%3D%7Bstyles.bottom%7D%20%2F%3E%5Cn%20%20%20%20%20%20%3C%2FView%3E%5Cn%20%20%20%20)%3B%5Cn%7D%5Cnconst%20styles%20%3D%20StyleSheet.create(%7B%5Cn%20%20container%3A%20%7B%5Cn%20%20%20%20flex%3A%201%2C%5Cn%20%20%20%20justifyContent%3A%20%5C%22space-between%5C%22%2C%5Cn%20%20%20%20backgroundColor%3A%20%5C%22%23fff%5C%22%2C%5Cn%20%20%20%20padding%3A%2020%2C%5Cn%20%20%20%20margin%3A%2010%2C%5Cn%20%20%7D%2C%5Cn%20%20top%3A%20%7B%5Cn%20%20%20%20flex%3A%200.3%2C%5Cn%20%20%20%20backgroundColor%3A%20%5C%22grey%5C%22%2C%5Cn%20%20%20%20borderWidth%3A%205%2C%5Cn%20%20%20%20borderTopLeftRadius%3A%2020%2C%5Cn%20%20%20%20borderTopRightRadius%3A%2020%2C%5Cn%20%20%7D%2C%5Cn%20%20middle%3A%20%7B%5Cn%20%20%20%20flex%3A%200.3%2C%5Cn%20%20%20%20backgroundColor%3A%20%5C%22beige%5C%22%2C%5Cn%20%20%20%20borderWidth%3A%205%2C%5Cn%20%20%7D%2C%5Cn%20%20bottom%3A%20%7B%5Cn%20%20%20%20flex%3A%200.3%2C%5Cn%20%20%20%20backgroundColor%3A%20%5C%22pink%5C%22%2C%5Cn%20%20%20%20borderWidth%3A%205%2C%5Cn%20%20%20%20borderBottomLeftRadius%3A%2020%2C%5Cn%20%20%20%20borderBottomRightRadius%3A%2020%2C%5Cn%20%20%7D%2C%5Cn%7D
1)%3B%5Cnexport%20default%20ViewStyleProps%3B%22%7D%7D","data-snack-dependencies":"react-native-safe-area-context","data-snack-platform":"web","data-snack-supported-platforms":"ios,android,web","data-snack-theme":"light","data-snack-preview":"true","data-snack-loading":"lazy","data-snack-device-appearance":"light","data-snack-device-frame":"false"}),"\n",(0,t.jsx)(d.h1,{id:"\u6587\u6863",children:"\u6587\u6863"}),"\n",(0,t.jsx)(d.h2,{id:"props",children:"Props"}),"\n",(0,t.jsx)(d.h3,{id:"borderrightcolor",children:(0,t.jsx)(d.code,{children:"borderRightColor"})}),"\n",(0,t.jsxs)(d.table,{children:[(0,t.jsx)(d.thead,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.th,{children:"\u7C7B\u578B"}),(0,t.jsx)(d.th,{children:"\u5FC5\u9700"})]})}),(0,t.jsx)(d.tbody,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:(0,t.jsx)(d.a,{href:"/docs/0.74/colors",children:"color"})}),(0,t.jsx)(d.td,{children:"\u5426"})]})})]}),"\n",(0,t.jsx)(d.hr,{}),"\n",(0,t.jsx)(d.h3,{id:"backfacevisibility",children:(0,t.jsx)(d.code,{children:"backfaceVisibility"})}),"\n",(0,t.jsxs)(d.table,{children:[(0,t.jsx)(d.thead,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.th,{children:"\u7C7B\u578B"}),(0,t.jsx)(d.th,{children:"\u5FC5\u9700"})]})}),(0,t.jsx)(d.tbody,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"enum('visible', 'hidden')"}),(0,t.jsx)(d.td,{children:"\u5426"})]})})]}),"\n",(0,t.jsx)(d.hr,{}),"\n",(0,t.jsx)(d.h3,{id:"borderbottomcolor",children:(0,t.jsx)(d.code,{children:"borderBottomColor"})}),"\n",(0,t.jsxs)(d.table,{children:[(0,t.jsx)(d.thead,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.th,{children:"\u7C7B\u578B"}),(0,t.jsx)(d.th,{children:"\u5FC5\u9700"})]})}),(0,t.jsx)(d.tbody,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:(0,t.jsx)(d.a,{href:"/docs/0.74/colors",children:"color"})}),(0,t.jsx)(d.td,{children:"\u5426"})]})})]}),"\n",(0,t.jsx)(d.hr,{}),"\n",(0,t.jsx)(d.h3,{id:"borderbottomendradius",children:(0,t.jsx)(d.code,{children:"borderBottomEndRadius"})}),"\n",(0,t.jsxs)(d.table,{children:[(0,t.jsx)(d.thead,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.th,{children:"\u7C7B\u578B"}),(0,t.jsx)(d.th,{children:"\u5FC5\u9700"})]})}),(0,t.jsx)(d.tbody,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"number"}),(0,t.jsx)(d.td,{children:"\u5426"})]})})]}),"\n",(0,t.jsx)(d.hr,{}),"\n",(0,t.jsx)(d.h3,{id:"borderbottomleftradius",children:(0,t.jsx)(d.code,{children:"borderBottomLeftRadius"})}),"\n",(0,t.jsxs)(d.table,{children:[(0,t.jsx)(d.thead,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.th,{children:"\u7C7B\u578B"}),(0,t.jsx)(d.th,{children:"\u5FC5\u9700"})]})}),(0,t.jsx)(d.tbody,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"number"}),(0,t.jsx)(d.td,{children:"\u5426"})]})})]}),"\n",(0,t.jsx)(d.hr,{}),"\n",(0,t.jsx)(d.h3,{id:"borderbottomrightradius",children:(0,t.jsx)(d.code,{children:"borderBottomRightRadius"})}),"\n",(0,t.jsxs)(d.table,{children:[(0,t.jsx)(d.thead,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.th,{children:"\u7C7B\u578B"}),(0,t.jsx)(d.th,{children:"\u5FC5\u9700"})]})}),(0,t.jsx)(d.tbody,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"number"}),(0,t.jsx)(d.td,{children:"\u5426"})]})})]}),"\n",(0,t.jsx)(d.hr,{}),"\n",(0,t.jsx)(d.h3,{id:"borderbottomstartradius",children:(0,t.jsx)(d.code,{children:"borderBottomStartRadius"})}),"\n",(0,t.jsxs)(d.table,{children:[(0,t.jsx)(d.thead,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.th,{children:"\u7C7B\u578B"}),(0,t.jsx)(d.th,{children:"\u5FC5\u9700"})]})}),(0,t.jsx)(d.tbody,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"number"}),(0,t.jsx)(d.td,{children:"\u5426"})]})})]}),"\n",(0,t.jsx)(d.hr,{}),"\n",(0,t.jsx)(d.h3,{id:"borderbottomwidth",children:(0,t.jsx)(d.code,{children:"borderBottomWidth"})}),"\n",(0,t.jsxs)(d.table,{children:[(0,t.jsx)(d.thead,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.th,{children:"\u7C7B\u578B"}),(0,t.jsx)(d.th,{children:"\u5FC5\u9700"})]})}),(0,t.jsx)(d.tbody,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"number"}),(0,t.jsx)(d.td,{children:"\u5426"})]})})]}),"\n",(0,t.jsx)(d.hr,{}),"\n",(0,t.jsx)(d.h3,{id:"bordercolor",children:(0,t.jsx)(d.code,{children:"borderColor"})}),"\n",(0,t.jsxs)(d.table,{children:[(0,t.jsx)(d.thead,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.th,{children:"\u7C7B\u578B"}),(0,t.jsx)(d.th,{children:"\u5FC5\u9700"})]})}),(0,t.jsx)(d.tbody,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:(0,t.jsx)(d.a,{href:"/docs/0.74/colors",children:"color"})}),(0,t.jsx)(d.td,{children:"\u5426"})]})})]}),"\n",(0,t.jsx)(d.hr,{}),"\n",(0,t.jsx)(d.h3,{id:"borderendcolor",children:(0,t.jsx)(d.code,{children:"borderEndColor"})}),"\n",(0,t.jsxs)(d.table,{children:[(0,t.jsx)(d.thead,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.th,{children:"\u7C7B\u578B"}),(0,t.jsx)(d.th,{children:"\u5FC5\u9700"})]})}),(0,t.jsx)(d.tbody,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:(0,t.jsx)(d.a,{href:"/docs/0.74/colors",children:"color"})}),(0,t.jsx)(d.td,{children:"\u5426"})]})})]}),"\n",(0,t.jsx)(d.hr,{}),"\n",(0,t.jsx)(d.h3,{id:"borderleftcolor",children:(0,t.jsx)(d.code,{children:"borderLeftColor"})}),"\n",(0,t.jsxs)(d.table,{children:[(0,t.jsx)(d.thead,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.th,{children:"\u7C7B\u578B"}),(0,t.jsx)(d.th,{children:"\u5FC5\u9700"})]})}),(0,t.jsx)(d.tbody,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:(0,t.jsx)(d.a,{href:"/docs/0.74/colors",children:"color"})}),(0,t.jsx)(d.td,{children:"\u5426"})]})})]}),"\n",(0,t.jsx)(d.hr,{}),"\n",(0,t.jsx)(d.h3,{id:"borderleftwidth",children:(0,t.jsx)(d.code,{children:"borderLeftWidth"})}),"\n",(0,t.jsxs)(d.table,{children:[(0,t.jsx)(d.thead,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.th,{children:"\u7C7B\u578B"}),(0,t.jsx)(d.th,{children:"\u5FC5\u9700"})]})}),(0,t.jsx)(d.tbody,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"number"}),(0,t.jsx)(d.td,{children:"\u5426"})]})})]}),"\n",(0,t.jsx)(d.hr,{}
1),"\n",(0,t.jsx)(d.h3,{id:"borderradius",children:(0,t.jsx)(d.code,{children:"borderRadius"})}),"\n",(0,t.jsxs)(d.table,{children:[(0,t.jsx)(d.thead,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.th,{children:"\u7C7B\u578B"}),(0,t.jsx)(d.th,{children:"\u5FC5\u9700"})]})}),(0,t.jsx)(d.tbody,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"number"}),(0,t.jsx)(d.td,{children:"\u5426"})]})})]}),"\n",(0,t.jsx)(d.hr,{}),"\n",(0,t.jsx)(d.h3,{id:"backgroundcolor",children:(0,t.jsx)(d.code,{children:"backgroundColor"})}),"\n",(0,t.jsxs)(d.table,{children:[(0,t.jsx)(d.thead,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.th,{children:"\u7C7B\u578B"}),(0,t.jsx)(d.th,{children:"\u5FC5\u9700"})]})}),(0,t.jsx)(d.tbody,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:(0,t.jsx)(d.a,{href:"/docs/0.74/colors",children:"color"})}),(0,t.jsx)(d.td,{children:"\u5426"})]})})]}),"\n",(0,t.jsx)(d.hr,{}),"\n",(0,t.jsx)(d.h3,{id:"borderrightwidth",children:(0,t.jsx)(d.code,{children:"borderRightWidth"})}),"\n",(0,t.jsxs)(d.table,{children:[(0,t.jsx)(d.thead,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.th,{children:"\u7C7B\u578B"}),(0,t.jsx)(d.th,{children:"\u5FC5\u9700"})]})}),(0,t.jsx)(d.tbody,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"number"}),(0,t.jsx)(d.td,{children:"\u5426"})]})})]}),"\n",(0,t.jsx)(d.hr,{}),"\n",(0,t.jsx)(d.h3,{id:"borderstartcolor",children:(0,t.jsx)(d.code,{children:"borderStartColor"})}),"\n",(0,t.jsxs)(d.table,{children:[(0,t.jsx)(d.thead,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.th,{children:"\u7C7B\u578B"}),(0,t.jsx)(d.th,{children:"\u5FC5\u9700"})]})}),(0,t.jsx)(d.tbody,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:(0,t.jsx)(d.a,{href:"/docs/0.74/colors",children:"color"})}),(0,t.jsx)(d.td,{children:"\u5426"})]})})]}),"\n",(0,t.jsx)(d.hr,{}),"\n",(0,t.jsx)(d.h3,{id:"borderstyle",children:(0,t.jsx)(d.code,{children:"borderStyle"})}),"\n",(0,t.jsxs)(d.table,{children:[(0,t.jsx)(d.thead,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.th,{children:"\u7C7B\u578B"}),(0,t.jsx)(d.th,{children:"\u5FC5\u9700"})]})}),(0,t.jsx)(d.tbody,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"enum('solid', 'dotted', 'dashed')"}),(0,t.jsx)(d.td,{children:"\u5426"})]})})]}),"\n",(0,t.jsx)(d.hr,{}),"\n",(0,t.jsx)(d.h3,{id:"bordertopcolor",children:(0,t.jsx)(d.code,{children:"borderTopColor"})}),"\n",(0,t.jsxs)(d.table,{children:[(0,t.jsx)(d.thead,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.th,{children:"\u7C7B\u578B"}),(0,t.jsx)(d.th,{children:"\u5FC5\u9700"})]})}),(0,t.jsx)(d.tbody,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:(0,t.jsx)(d.a,{href:"/docs/0.74/colors",children:"color"})}),(0,t.jsx)(d.td,{children:"\u5426"})]})})]}),"\n",(0,t.jsx)(d.hr,{}),"\n",(0,t.jsx)(d.h3,{id:"bordertopendradius",children:(0,t.jsx)(d.code,{children:"borderTopEndRadius"})}),"\n",(0,t.jsxs)(d.table,{children:[(0,t.jsx)(d.thead,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.th,{children:"\u7C7B\u578B"}),(0,t.jsx)(d.th,{children:"\u5FC5\u9700"})]})}),(0,t.jsx)(d.tbody,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"number"}),(0,t.jsx)(d.td,{children:"\u5426"})]})})]}),"\n",(0,t.jsx)(d.hr,{}),"\n",(0,t.jsx)(d.h3,{id:"bordertopleftradius",children:(0,t.jsx)(d.code,{children:"borderTopLeftRadius"})}),"\n",(0,t.jsxs)(d.table,{children:[(0,t.jsx)(d.thead,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.th,{children:"\u7C7B\u578B"}),(0,t.jsx)(d.th,{children:"\u5FC5\u9700"})]})}),(0,t.jsx)(d.tbody,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"number"}),(0,t.jsx)(d.td,{children:"\u5426"})]})})]}),"\n",(0,t.jsx)(d.hr,{}),"\n",(0,t.jsx)(d.h3,{id:"bordertoprightradius",children:(0,t.jsx)(d.code,{children:"borderTopRightRadius"})}),"\n",(0,t.jsxs)(d.table,{children:[(0,t.jsx)(d.thead,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.th,{children:"\u7C7B\u578B"}),(0,t.jsx)(d.th,{children:"\u5FC5\u9700"})]})}),(0,t.jsx)(d.tbody,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"number"}),(0,t.jsx)(d.td,{children:"\u5426"})]})})]}),"\n",(0,t.jsx)(d.hr,{}),"\n",(0,t.jsx)(d.h3,{id:"bordertopstartradius",children:(0,t.jsx)(d.code,{children:"borderTopStartRadius"})}),"\n",(0,t.jsxs)(d.table,{children:[(0,t.jsx)(d.thead,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.th,{children:"\u7C7B\u578B"}),(0,t.jsx)(d.th,{children:"\u5FC5\u9700"})]})}),(0,t.jsx)(d.tbody,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"number"}),(0,t.jsx)(d.td,{children:"\u5426"})]})})]}),"\n",(0,t.jsx)(d.hr,{}),"\n",(0,t.jsx)(d.h3,{id:"bordertopwidth",children:(0,t.jsx)(d.code,{children:"borderTopWidth"})}),"\n",(0,t.jsxs)(d.table,{children:[(0,t.jsx)(d.thead,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.th,{children:"\u7C7B\u578B"}),(0,t.jsx)(d.th,{children:"\u5FC5\u9700"})]})}),(0,t.jsx)(d.tbody,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"number"}),(0,t.jsx)(d.td,{children:"\u5426"})]})})]}),"\n",(0,t.jsx)(d.hr,{}),"\n",(0,t.jsx)(d.h3,{id:"borderwidth",children:(0,t.jsx)(d.code,{children:"borderWidth"})}),"\n",(0,t.jsxs)(d.table,{children:[(0,t.jsx)(d.thead,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.th,{children:"\u7C7B\u578B"}),(0,t.jsx)(d.th,{children:"\u5FC5\u9700"})]})}),(0,t.jsx)(d.tbody,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"number"}),(0,t.jsx)(d.td,{children:"\u5426"})]})})]}),"\n",(0,t.jsx)(d.hr,{}),"\n",(0,t.jsx)(d.h3,{id:"opacity",children:(0,t.jsx)(d.code,{children:"opacity"})}),"\n",(0,t.jsxs)(d.table,{children:[(0,t.jsx)(d.thead,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.th,{children:"\u7C7B\u578B"}),(0,t.jsx)(d.th,{children:"\u5FC5\u9700"})]})}),(0,t.jsx)(d.tbody,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"number"}),(0,t.jsx)(d.td,{children:"\u5426"})]})})]}),"\n",(0,t.jsx)(d.hr,{}),"\n",(0,t.jsx)(d.h3,{id:"elevation",children:(0,t.jsx)(d.code,{children:"elevation"})}),"\n",(0,t.jsxs)(d.p,{children:["(\u9650 Android)\u4F7F\u7528 Android \u539F\u751F\u7684 elevation API \u6765\u8BBE\u7F6E\u89C6\u56FE\u7684\u9AD8\u5EA6\uFF08 ",(0,t.jsx)(d.a,{href:"https://developer.android.com/training/material/shadows-clipping.html#Elevation",children:"elevation API"}),"\uFF09\u3002\u8FD9\u6837\u53EF\u4EE5\u4E3A\u89C6\u56FE\u6DFB\u52A0\u4E00\u4E2A\u6295\u5F71\uFF0C\u5E76\u4E14\u4F1A\u5F71\u54CD\u89C6\u56FE\u5C42\u53E0\u7684\u987A\u5E8F\u3002\u6B64\u5C5E\u6027\u4EC5\u652F\u6301 Android5.0 \u53CA\u4EE5\u4E0A\u7248\u672C\u3002"]}),"\n",(0,t.jsxs)(d.table,{children:[(0,t.jsx)(d.thead,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.th,{children:"\u7C7B\u578B"}),(0,t.jsx)(d.th,{children:"\u5FC5\u9700"}),(0,t.jsx)(d.th,{children:"\u5E73\u53F0"})]})}),(0,t.jsx)(d.tbody,{children:(0,t.jsxs)(d.tr,{children:[(0,t.jsx)(d.td,{children:"number"}),(0,t.jsx)(d.td,{children:"\u5426"}),(0,t.jsx)(d.td,{children:"Android"})]})})]})]})}function x(e={}){let{wrapper:d}={...(0,n.R)(),...e.components};return d?(0,t.jsx)(d,{...e,children:(0,t.jsx)(o,{...e})}):o(e)}},43023(e,d,r){r.d(d,{R:()=>i,x:()=>l});var s=r(63696);let t={},n=s.createContext(t);function i(e){let d=s.useContext(n);return s.useMemo(function(){return"function"==typeof e?e(d):{...d,...e}},[d,e])}function l(e){let d;return d=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:i(e.components),s.createElement(n.Provider,{value:d},e.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.