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

Public Member Functions

def __init__ (self, pen, points, filled=False)
 
def draw (self, cr, highlight=False)
 
- Public Member Functions inherited from smach_viewer.xdot.xdot.Shape
def __init__ (self)
 
def search_text (self, regexp)
 
def select_pen (self, highlight)
 

Public Attributes

 filled
 
 pen
 
 points
 
- Public Attributes inherited from smach_viewer.xdot.xdot.Shape
 highlight_pen
 

Detailed Description

Definition at line 288 of file xdot.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 290 of file xdot.py.

Member Function Documentation

◆ draw()

def smach_viewer.xdot.xdot.PolygonShape.draw (   self,
  cr,
  highlight = False 
)
Draw this shape with the given cairo context

Reimplemented from smach_viewer.xdot.xdot.Shape.

Definition at line 296 of file xdot.py.

Member Data Documentation

◆ filled

smach_viewer.xdot.xdot.PolygonShape.filled

Definition at line 294 of file xdot.py.

◆ pen

smach_viewer.xdot.xdot.PolygonShape.pen

Definition at line 292 of file xdot.py.

◆ points

smach_viewer.xdot.xdot.PolygonShape.points

Definition at line 293 of file xdot.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