monks/stroke_opacity
The stroke-opacity CSS property defines the opacity of an SVG shape’s stroke. The effect is identical to that of {{CSSxref(‘opacity’)}}, except it is applied only to the stroke, not to the entire element. If present, it overrides the element’s {{SVGAttr(“stroke-opacity”)}} attribute.
This property applies to SVG shapes and text-content elements (see {{SVGAttr(“stroke-opacity”)}} for a full list), but as an inherited property, it may be applied to elements such as {{SVGElement(“g”)}} and still have the intended effect on descendant elements’ strokes.
Note that a shape’s stroke partially covers the fill of that shape, so a stroke with an opacity less than 1 will show the fill blended with the stroke where they overlap. To avoid this effect, it is possible to apply a global opacity with the {{cssxref(‘opacity’)}} property or to put the stroke behind the fill with the {{cssxref(‘paint-order’)}} attribute.
Values
pub const revert_layer: #(String, String)