Here we use two styles, the first makes the hachure (Symbol) and give it a fill color (Fill color) while setting the width hatching should be (Width) and the amount of space they will have apart (Symbol size). It is also chosen to set a fixed value that will give angle of hatching (Angle). In addition, selected the one pattern of hatching, by phantom line (Pattern), one pattern that will draw out 10 pixels with full line and then 5 pixels apart.
The second style nature is only used to specify a color and width of the perimeter (Outline color and Width).
Example on legend
Exemple on map