I wanted to create a symbol like this (see screenshots below(first and second: white circle)), the shape of these symbols are different, some of them are a straight line, some of them are curved. How do I do it? 

Screenshot 1

[![enter image description here][1]][1]

Screenshot 2 (See white circle)

[![enter image description here][2]][2]

**How can I reduce the space between line and rectangle?**

[![enter image description here][3]][3]


  [1]: https://i.sstatic.net/PRMMP.png
  [2]: https://i.sstatic.net/yhMgl.png
  [3]: https://i.sstatic.net/t5Hot.png