MCPcopy Create free account
hub / github.com/PJLab-ADG/OASim / __init__

Method __init__

limsim/utils/simBase.py:6–20  ·  view source on GitHub ↗
(self, 
                 type: str, 
                 shape: list[QPointF], 
                 pen_color: QColor, 
                 brush_color: QColor, 
                 pen_width: int = 1, 
                 is_selectable: bool = False, 
                 data: str = "")

Source from the content-addressed store, hash-verified

4
5class graphicsItem:
6 def __init__(self,
7 type: str,
8 shape: list[QPointF],
9 pen_color: QColor,
10 brush_color: QColor,
11 pen_width: int = 1,
12 is_selectable: bool = False,
13 data: str = ""):
14 self.type = type
15 self.shape = shape
16 self.pen_color = pen_color
17 self.brush_color = brush_color
18 self.pen_width = pen_width
19 self.is_selectable = is_selectable
20 self.data = data
21
22class CoordTF:
23 # Ego is always in the center of the window

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected