Public Member Functions | Public Attributes | List of all members
smach_viewer.xdot.xdot_qt.PolygonShape Class Reference
Inheritance diagram for smach_viewer.xdot.xdot_qt.PolygonShape:
Inheritance graph
[legend]

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
 

Detailed Description

Used to draw a polygon with QPainter.

Definition at line 150 of file xdot_qt.py.

Constructor & Destructor Documentation

◆ __init__()

def smach_viewer.xdot.xdot_qt.PolygonShape.__init__ (   self,
  pen,
  points,
  filled = False 
)

Definition at line 153 of file xdot_qt.py.

Member Function Documentation

◆ draw()

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.

Member Data Documentation

◆ filled

smach_viewer.xdot.xdot_qt.PolygonShape.filled

Definition at line 157 of file xdot_qt.py.

◆ pen

smach_viewer.xdot.xdot_qt.PolygonShape.pen

Definition at line 155 of file xdot_qt.py.

◆ points

smach_viewer.xdot.xdot_qt.PolygonShape.points

Definition at line 156 of file xdot_qt.py.


The documentation for this class was generated from the following file:


smach_viewer
Author(s): Jonathan Bohren
autogenerated on Thu Feb 20 2025 03:09:09