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

Class graphicsItem

limsim/utils/simBase.py:5–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3from PySide6.QtCore import QPointF
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