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

Public Member Functions

def __init__ (self, pen, x, y, j, w, t)
 
def draw (self, cr, highlight=False)
 
def search_text (self, regexp)
 
- Public Member Functions inherited from smach_viewer.xdot.xdot.Shape
def __init__ (self)
 
def select_pen (self, highlight)
 

Public Attributes

 j
 
 layout
 
 pen
 
 t
 
 w
 
 x
 
 y
 
- Public Attributes inherited from smach_viewer.xdot.xdot.Shape
 highlight_pen
 

Static Public Attributes

 CENTER
 
 LEFT
 
 RIGHT
 

Detailed Description

Definition at line 111 of file xdot.py.

Constructor & Destructor Documentation

◆ __init__()

def smach_viewer.xdot.xdot.TextShape.__init__ (   self,
  pen,
  x,
  y,
  j,
  w,
  t 
)

Definition at line 115 of file xdot.py.

Member Function Documentation

◆ draw()

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

Reimplemented from smach_viewer.xdot.xdot.Shape.

Definition at line 124 of file xdot.py.

◆ search_text()

def smach_viewer.xdot.xdot.TextShape.search_text (   self,
  regexp 
)

Reimplemented from smach_viewer.xdot.xdot.Shape.

Definition at line 232 of file xdot.py.

Member Data Documentation

◆ CENTER

smach_viewer.xdot.xdot.TextShape.CENTER
static

Definition at line 113 of file xdot.py.

◆ j

smach_viewer.xdot.xdot.TextShape.j

Definition at line 120 of file xdot.py.

◆ layout

smach_viewer.xdot.xdot.TextShape.layout

Definition at line 179 of file xdot.py.

◆ LEFT

smach_viewer.xdot.xdot.TextShape.LEFT
static

Definition at line 113 of file xdot.py.

◆ pen

smach_viewer.xdot.xdot.TextShape.pen

Definition at line 117 of file xdot.py.

◆ RIGHT

smach_viewer.xdot.xdot.TextShape.RIGHT
static

Definition at line 113 of file xdot.py.

◆ t

smach_viewer.xdot.xdot.TextShape.t

Definition at line 122 of file xdot.py.

◆ w

smach_viewer.xdot.xdot.TextShape.w

Definition at line 121 of file xdot.py.

◆ x

smach_viewer.xdot.xdot.TextShape.x

Definition at line 118 of file xdot.py.

◆ y

smach_viewer.xdot.xdot.TextShape.y

Definition at line 119 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