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

Public Member Functions

def __init__ (self, pen, x, y, j, w, t)
 
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

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

Static Public Attributes

 CENTER
 
 LEFT
 
 RIGHT
 

Detailed Description

Used to draw a text shape with a QPainter

Definition at line 95 of file xdot_qt.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 100 of file xdot_qt.py.

Member Function Documentation

◆ draw()

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

Reimplemented from smach_viewer.xdot.xdot_qt.Shape.

Definition at line 109 of file xdot_qt.py.

Member Data Documentation

◆ CENTER

smach_viewer.xdot.xdot_qt.TextShape.CENTER
static

Definition at line 98 of file xdot_qt.py.

◆ j

smach_viewer.xdot.xdot_qt.TextShape.j

Definition at line 105 of file xdot_qt.py.

◆ LEFT

smach_viewer.xdot.xdot_qt.TextShape.LEFT
static

Definition at line 98 of file xdot_qt.py.

◆ pen

smach_viewer.xdot.xdot_qt.TextShape.pen

Definition at line 102 of file xdot_qt.py.

◆ RIGHT

smach_viewer.xdot.xdot_qt.TextShape.RIGHT
static

Definition at line 98 of file xdot_qt.py.

◆ t

smach_viewer.xdot.xdot_qt.TextShape.t

Definition at line 107 of file xdot_qt.py.

◆ w

smach_viewer.xdot.xdot_qt.TextShape.w

Definition at line 106 of file xdot_qt.py.

◆ x

smach_viewer.xdot.xdot_qt.TextShape.x

Definition at line 103 of file xdot_qt.py.

◆ y

smach_viewer.xdot.xdot_qt.TextShape.y

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