diff --git a/docs/api_reference_dynamic.html b/docs/api_reference_dynamic.html index 8290ebc..faa33e5 100644 --- a/docs/api_reference_dynamic.html +++ b/docs/api_reference_dynamic.html @@ -108,7 +108,7 @@
Generated on 2025-10-30 12:33:46
+Generated on 2025-10-30 16:58:07
This documentation was dynamically generated from the compiled module.
from_hexCreate Color from hex string (e.g., '#FF0000' or 'FF0000')from_hexfrom_hex(hex_string: str) -> ColorCreate a Color from a hexadecimal string. + + +Note:
+Returns: Color: New Color object with values from hex string ValueError: If hex string is not 6 or 8 characters (RGB or RGBA) This is a class method. Call as Color.from_hex('#FF0000')
lerp(...)Linearly interpolate between this color and another
+lerplerp(other: Color, t: float) -> ColorLinearly interpolate between this color and another. + + +Note:
+Returns: Color: New Color representing the interpolated value All components (r, g, b, a) are interpolated independently
to_hex(...)Convert Color to hex string
+to_hexto_hex() -> strConvert this Color to a hexadecimal string. + + + +Note:
+Returns: str: Hex string in format '#RRGGBB' or '#RRGGBBAA' (if alpha < 255) Alpha component is only included if not fully opaque (< 255)
cancelcancel() -> NoneCancel the timer and remove it from the timer system. -The timer will no longer fire and cannot be restarted.
+ + + +Note: +Returns: None The timer will no longer fire and cannot be restarted. The callback will not be called again.
pausepause() -> NonePause the timer, preserving the time remaining until next trigger. -The timer can be resumed later with resume().
+ + + +Note: +Returns: None The timer can be resumed later with resume(). Time spent paused does not count toward the interval.
restartrestart() -> NoneRestart the timer from the beginning. -Resets the timer to fire after a full interval from now.
+ + + +Note: +Returns: None Resets the timer to fire after a full interval from now, regardless of remaining time.
resumeresume() -> NoneResume a paused timer from where it left off. -Has no effect if the timer is not paused.
+ + + +Note: +Returns: None Has no effect if the timer is not paused. Timer will fire after the remaining time elapses.