stroke-dashoffset 该stroke-dashoffset属性指定进入短划线模式的距离以开始短划线。 如果使用<百分比>,则该值表示当前视口的百分比。 值可能是负的。
stroke-linejoin 该stroke-linejoin属性指定在描边时在路径或基本形状的拐角处使用的形状。 作为一个表现属性,它也可以直接在CSS样式表中作为属性使用。
stroke-miterlimit 当两条线段以尖锐的角度相交并且miter已经指定了接缝时stroke-linejoin,斜接线可能远远超出划线的厚度。
stroke-width 该stroke-width属性指定当前对象上轮廓的宽度。它的默认值是1。如果使用<百分比>,则该值表示当前视口的百分比。如果使用值0,则轮廓将不会被绘制。
-webkit-text-strokeCSS属性为文本字符指定了宽 和 颜色 .它是-webkit-text-stroke-width和-webkit-text-stroke-color属性的缩写.
-webkit-text-stroke-color 非标准 此功能是非标准的。不要在面向Web的生产站点上使用它:它并不适用于每个用户。
正式语法
none|[fill|fill-opacity|stroke|stroke-opacity]#
示例
在本例中,我们有一个简单的,使用元素的SVG。
title> </head> <body> <svgwidth="300px"height="100px"> <rectx="0"y="0"width="300"height="100"stroke
:#000;fill:#0086B2"fill-opacity=0.2stroke-opacity=0.2></rect><!

扫码关注腾讯云开发者
领取腾讯云代金券
Copyright © 2013 - 2026 Tencent Cloud. All Rights Reserved. 腾讯云 版权所有
深圳市腾讯计算机系统有限公司 ICP备案/许可证号:粤B2-20090059
粤公网安备44030502008569号
腾讯云计算(北京)有限责任公司 京ICP证150476号 | 京ICP备11018762号
