
Public Member Functions | |
| def | __init__ (self, pen, points, filled=False) |
| def | draw (self, painter, highlight=False) |
Public Member Functions inherited from smach_viewer.xdot.xdot_qt.Shape | |
| def | __init__ (self) |
| def | select_pen (self, highlight) |
Public Attributes | |
| filled | |
| pen | |
| points | |
Public Attributes inherited from smach_viewer.xdot.xdot_qt.Shape | |
| highlight_pen | |
Used to draw a polygon with QPainter.
Definition at line 150 of file xdot_qt.py.
| def smach_viewer.xdot.xdot_qt.PolygonShape.__init__ | ( | self, | |
| pen, | |||
| points, | |||
filled = False |
|||
| ) |
Definition at line 153 of file xdot_qt.py.
| def smach_viewer.xdot.xdot_qt.PolygonShape.draw | ( | self, | |
| cr, | |||
highlight = False |
|||
| ) |
Draw this shape with the given cairo context
Reimplemented from smach_viewer.xdot.xdot_qt.Shape.
Definition at line 159 of file xdot_qt.py.
| smach_viewer.xdot.xdot_qt.PolygonShape.filled |
Definition at line 157 of file xdot_qt.py.
| smach_viewer.xdot.xdot_qt.PolygonShape.pen |
Definition at line 155 of file xdot_qt.py.
| smach_viewer.xdot.xdot_qt.PolygonShape.points |
Definition at line 156 of file xdot_qt.py.