Draw line, arrow with shadow

shadow can only be added on layers, therefore, we must draw line on a new layer
1 ) layer menu "New Layer", set fill to "Transparent" and "Upper" to the current layer
2 ) use to draw line, arrow, stamp
3 ) menu "Image" -> "Add Shadow"

Example :