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