[Connect CPP] Replacement for mdlPattern_linear

Hi all

I would like to know if there is a replacement for mdlPattern_linear in the CPP API. 

When working with shapes you can do something like:

ShapeHandler::GetInstance().AddPattern(

but I would like to add some linear pattern to a line / linestring.

Any ideas ?

TIA

Regards Evan