pub fn stroke_opacity(&self) -> Result<f32, std::num::ParseFloatError> {
        match self.hash_style.get("stroke-opacity") {
            Some(c) => c.parse(),
            _ => Ok(1f32),
        }
    }
/// In both opacities, please remember that they return a Result (it may change in the future)
/// ```
/// # use bevy_svg_map::SvgStyle;
/// # use bevy::prelude::Color;
///
/// let style = SvgStyle::from("fill:none;stroke:#000000;stroke-width:1.0px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:0.5");
/// assert_eq!(
///     style.stroke_opacity().unwrap(),
///     0.5
/// );
/// ```
In both opacities, please remember that they return a Result (it may change in the future)
```
In both opacities please remember that they return a Result ( it may change in the future ) ` ` `
pub fn stroke_opacity(&self) -> Result<f32, std::num::ParseFloatError> {
        match self.hash_style.get("stroke-opacity") {
            Some(c) => c.parse(),
            _ => Ok(1f32),
        }
    }
pub fn stroke_opacity ( & self ) -> Result < f32 , std :: num :: ParseFloatError > { match self . hash_style . get ( " " ) { Some ( c ) => c . parse ( ) , _ => Ok ( 1f32 ) , } }
In both opacities, please remember that they return a Result (it may change in the future)
```
In both opacities please remember that they return a Result ( it may change in the future ) ` ` `
&self
&self
use bevy_svg_map::svgstyle;
None
use bevy::prelude::color;
let style = SvgStyle::from("fill:none;stroke:#000000;stroke-width:1.0px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:0.5");
assert_eq!(
style.stroke_opacity().unwrap(),
0.5
);
```
let style = SvgStyle :: from ( " fill : none ; stroke : #000000 ; stroke - width : 1 . 0px ; stroke - linecap : butt ; stroke - linejoin : miter ; stroke - opacity : 0 . 5 " ) ; assert_eq! ( style . stroke_opacity () . unwrap () 0 . 5 ) ; ` ` `