Property painter.pen contains a Qt variant of class qt.QPen representing the painter settings that determine how function painter:stroke draws shapes.
painter.pen
qt.QPen
painter:stroke