diff --git a/colour_visuals/visual.py b/colour_visuals/visual.py index 689356c..d95f9b0 100644 --- a/colour_visuals/visual.py +++ b/colour_visuals/visual.py @@ -97,6 +97,16 @@ def block_update(self) -> Generator: self._is_update_blocked = False + @abstractmethod + def update(self): + """ + Update the visual. + + Notes + ----- + - Must be reimplemented by sub-classes. + """ + class MixinPropertyCMFS: """ @@ -463,16 +473,6 @@ def model(self, value: LiteralColourspaceModel | str): self._model = validate_method(value, tuple(COLOURSPACE_MODELS)) - @abstractmethod - def update(self): - """ - Update the visual. - - Notes - ----- - - Must be reimplemented by sub-classes. - """ - class MixinPropertyOpacity: """