create different directives: glyph, glyph-contour and segment-endpoint