Need advice about a specific gfx technique


So ive been playing around with making a basic strategy game using LibGDX, and so far ive just been using basic Shaperenderer Lines to represent paths in a visual way for the player.

It looks really bad, im aware that Shaperenderer is really just a debugging tool more than anything, so I started looking at some games I own and how they show paths.

Look below at two games that use the technique I would like to use.

How would you go about making this exact kind of thing? Would you use a Mesh?

Divided We Fall

Hearts Of Iron 4