Bezier Path properties/attributes - thickness

Hi

is it possible to draw a path/line/bezier and change the size of the thickness?

Something like this: (pointSize does not exist)
LHBezier* _line = (LHBezier*)this->getChildNodeWithName(“line”);
_line->pointSize(5);