コード例 #1
0
ファイル: MTransform.py プロジェクト: samvidmistry/PyMaterial
 def __init__(self, method: Callable[[float, MShape], None], start_val: float, end_value: float, duration: int, fps=60):
     MAnimate.__init__(self)
     self.can_run_reversed = True
     self.__remaining_delay = -1
     self.__method = method
     self.__completed = False
     self.__animator = MValueAnimator(start_val, end_value, duration, fps)
コード例 #2
0
ファイル: MFade.py プロジェクト: GelaniNijraj/PyMaterial
 def __init__(self):
     MAnimate.__init__(self)
     self.can_run_reversed = True
コード例 #3
0
 def __init__(self):
     MAnimate.__init__(self)
     self.__clip = QPainterPath()