How to stroke juce::Path inside juce::Path?

I have own method to draw drop shadow with juce::Path but I have difficulties to draw it for Path which is not closed. So I wonder if is there any method to stroke Path to have in it already stroked shape.

There is method Path::addLineSegment() and I can give it thickness of that line. But what about other shapes? Let’s say sinusoid with already defined thickness?

For any help great thanks in advance.

Best Regards.

I think what you’re after is juce::PathStrokeType::createStrokedPath().

He he. Great thanks ImJimmi.
I searched all Path documentation. But the answer was in PathStrokeType. He he he.