rusty_desktop_icons.AnimationPreset¶
- class rusty_desktop_icons.AnimationPreset¶
Platform-independent movement, strength envelope and duration values.
Defaults are ease-in-out movement, smooth 15 percent strength fades and two seconds. Pass fields separately to IconAnimationSpec and Effect; presets never change constructor defaults or compile shaders.
- classmethod builtin(name: BuiltinShader | str) AnimationPreset¶
Look up recommendations from the Windows shader catalog without compilation. Raises UnsupportedPlatform on other systems; AnimationPreset() is portable.