Files
Hippy/docs/style/appearance.md
T
2021-01-08 15:00:50 +08:00

3.0 KiB

外观

包含了前景、背景、边框、透明度等外观样式

borderRightColor

类型 必需
color 否

backfaceVisibility

类型 必需
enum('visible', 'hidden') 否

borderBottomColor

类型 必需
color 否

borderBottomEndRadius

类型 必需
number 否

borderBottomLeftRadius

类型 必需
number 否

borderBottomStartRadius

类型 必需
number 否

borderBottomWidth

类型 必需
number 否

borderColor

类型 必需
color 否

borderEndColor

类型 必需
color 否

borderLeftColor

类型 必需
color 否

borderLeftWidth

类型 必需
number 否

borderRadius

类型 必需
number 否

backgroundColor

类型 必需
color 否

borderRightWidth

类型 必需
number 否

borderStartColor

类型 必需
color 否

borderStyle

类型 必需
enum('solid', 'dotted', 'dashed') 否

borderTopColor

类型 必需
color 否

borderTopLeftRadius

类型 必需
number 否

borderTopRightRadius

类型 必需
number 否

borderBottomRightRadius

类型 必需
number 否

borderTopWidth

类型 必需
number 否

borderWidth

类型 必需
number 否

boxShadow

类型 必需 平台
Hippy-React 参考例子 否 双平台支持,Android实现有差异(详见例子)
Hippy-Vue 参考例子 否 双平台支持,Android实现有差异(详见例子)

opacity

类型 必需
number 否