填充:solid
color:填充的颜色
大小:size
width:宽度
height:高度
内边距:padding
left:左内边距
top:上内边距
right:右内边距
bottom:下内边距
圆角:corners
Radius:四个角的圆角半径
topLeftRadius:左上角圆角半径
topRightRadius:右上角圆角半径
bottomLeftRadius:左下角的半径
bottomRightRadius:右下角的半径
描边:stroke
width 描边的宽
color 描边的颜色
dashWidth 虚线的宽度
dashGap 虚线的间隔宽度
渐变色:gradient
startColor:开始点颜色
centerColor:中间点颜色
endColor:结束点颜色
angle:渐变角度(只对线性有效果,必须为45的倍数,0为左到右,90为上到下以此类推)
type:类型 linear(线性渐变)、radial(放射性渐变)、sweep(扫描式渐变)
gradientRadius:渐变半径(当且仅当渐变类型为radial才可使用,而且只有指定渐变半径放射性渐变才会起效果)
centerX、centerY:渐变中心点的位置(当且仅当渐变类型为radial才有效,有效值为0.0~1.0)
1748




被折叠的 条评论
为什么被折叠?



