eric6/E5Graphics/E5ArrowItem.py

changeset 8218
7c09585bd960
parent 8143
2c730d5fd177
child 8257
28146736bbfc
equal deleted inserted replaced
8217:385f60c94548 8218:7c09585bd960
41 @param colors tuple containing the foreground and background colors 41 @param colors tuple containing the foreground and background colors
42 @type tuple of (QColor, QColor) 42 @type tuple of (QColor, QColor)
43 @param parent reference to the parent object 43 @param parent reference to the parent object
44 @type QGraphicsItem 44 @type QGraphicsItem
45 """ 45 """
46 super(E5ArrowItem, self).__init__(parent) 46 super().__init__(parent)
47 47
48 self._origin = QPointF() if origin is None else QPointF(origin) 48 self._origin = QPointF() if origin is None else QPointF(origin)
49 self._end = QPointF() if end is None else QPointF(end) 49 self._end = QPointF() if end is None else QPointF(end)
50 self._filled = filled 50 self._filled = filled
51 self._type = arrowType 51 self._type = arrowType

eric ide

mercurial