Here, two styles are defined.
The first creates the hatching (Symbol) and gives it a color (Fill color), plus sets the width of the hatching lines (Width) and the amount of space between them (Symbol size). A fixed angle for the hatching’s direction is set (Angle). In addition, the hatching is set to consist of dashed lines (Pattern), which will be drawn as 10 pixels lines with a 5 pixels space between them.
The second style is used to specify a color (Outline color) and width (Width) for the outline stroke.
Example, legend
Example, in map