diff --git a/pyjecteur/common.py b/pyjecteur/common.py index 3a989bd..31fa9a2 100644 --- a/pyjecteur/common.py +++ b/pyjecteur/common.py @@ -42,10 +42,13 @@ class InterpType(Enum): LINEAR = 2 class Filling(Enum): + """ + How we fill a bar when the color ratio is not a perfect match + """ - VOID = 1 - EXTREMA = 2 - GREATEST = 3 + VOID = 1 # Fill with a "void" color + EXTREMA = 2 # Repeat both extrema values + GREATEST = 3 # Repeat the longest color streaks def blendLedBar(colors: List[Color], blending: Optional[InterpType] = InterpType.NEAREST,