Expression painter:setpath(qpainterpath) sets the current path. Argument qpainterpath must be a Qt variant of type qt.QPainterPath.
painter:setpath(qpainterpath)
qpainterpath
qt.QPainterPath