Summary
Register an
Animator<T>
that handles a specific
IBrush
's descendant value type.
- Namespace
- Avalonia
.Animation .Animators - Containing Type
- BaseBrushAnimator
Syntax
public static void RegisterBrushAnimator<TAnimator>(Func<Type, bool> condition)
where TAnimator : IAnimator
Type Parameters
Name | Description |
---|---|
TAnimator | The type of the animator to instantiate. |
Parameters
Name | Type | Description |
---|---|---|
condition | Func |
The condition to which the Animator<T>
is to be activated and used.
|
Return Value
Type | Description |
---|---|
void |