The quote is an example of symbolism. There are instances when people would use this to show how they feel about something. If you are having trouble with expressing your feelings, this is one of the best things that you can do.
You can show symbols that will let you know how you feel. There are also some people who use symbolisms to ensure that you can create different emotions and meanings through the things that you write. Take note that symbolisms can always take various forms.