rect

class janim.gui.draw.rect.DrawRect(viewer: AnimViewer)

基类:DrawOnce

tab_name = 'Rect'
desc_name = 'Rect'
icon_file: str | None = 'rect.png'
init() None
start(position: QPointF) None
append(position: QPointF) None
finish(_) None
shift(shift: ShiftInfo) None
released(position) None
paint(p: QPainter, is_active: bool) None
staticMetaObject = PySide6.QtCore.QMetaObject("DrawRect" inherits "DrawOnce": )