mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
Documentation - Added DocFX
This commit is contained in:
1 parent
68b61cbcb2
commit
1fc2896906
19 files changed
+520
-49
No files matched your search
@@ -136,9 +136,9 @@ namespace Artemis.Core.Models.Profile.Colors
|
||||
|
||||
/// <inheritdoc />
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
|
||||
[NotifyPropertyChangedInvocator]
|
||||
protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null)
|
||||
internal virtual void OnPropertyChanged([CallerMemberName] string propertyName = null)
|
||||
{
|
||||
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
|
||||
@@ -72,10 +72,10 @@ namespace Artemis.Core.Services.Interfaces
|
||||
List<PluginInfo> GetAllPluginInfo();
|
||||
|
||||
/// <summary>
|
||||
/// Finds all enabled <see cref="Plugin" /> instances of type <see cref="T" />
|
||||
/// Finds all enabled <see cref="Plugin" /> instances of type T
|
||||
/// </summary>
|
||||
/// <typeparam name="T">Either <see cref="Plugin" /> or a plugin type implementing <see cref="Plugin" /></typeparam>
|
||||
/// <returns>Returns a list of plug instances of type <see cref="T" /></returns>
|
||||
/// <returns>Returns a list of plug instances of type T
|
||||
List<T> GetPluginsOfType<T>() where T : Plugin;
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -4,44 +4,6 @@ namespace Artemis.Core.Utilities
|
||||
{
|
||||
public static class Easings
|
||||
{
|
||||
/// <summary>
|
||||
/// Easing Functions enumeration
|
||||
/// </summary>
|
||||
public enum Functions
|
||||
{
|
||||
Linear,
|
||||
QuadraticEaseIn,
|
||||
QuadraticEaseOut,
|
||||
QuadraticEaseInOut,
|
||||
CubicEaseIn,
|
||||
CubicEaseOut,
|
||||
CubicEaseInOut,
|
||||
QuarticEaseIn,
|
||||
QuarticEaseOut,
|
||||
QuarticEaseInOut,
|
||||
QuinticEaseIn,
|
||||
QuinticEaseOut,
|
||||
QuinticEaseInOut,
|
||||
SineEaseIn,
|
||||
SineEaseOut,
|
||||
SineEaseInOut,
|
||||
CircularEaseIn,
|
||||
CircularEaseOut,
|
||||
CircularEaseInOut,
|
||||
ExponentialEaseIn,
|
||||
ExponentialEaseOut,
|
||||
ExponentialEaseInOut,
|
||||
ElasticEaseIn,
|
||||
ElasticEaseOut,
|
||||
ElasticEaseInOut,
|
||||
BackEaseIn,
|
||||
BackEaseOut,
|
||||
BackEaseInOut,
|
||||
BounceEaseIn,
|
||||
BounceEaseOut,
|
||||
BounceEaseInOut
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Constant Pi.
|
||||
/// </summary>
|
||||
@@ -178,9 +140,9 @@ namespace Artemis.Core.Utilities
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
// Modeled after the piecewise quartic
|
||||
// y = (1/2)((2x)^4) ; [0, 0.5)
|
||||
// y = -(1/2)((2x-2)^4 - 2) ; [0.5, 1]
|
||||
/// Modeled after the piecewise quartic
|
||||
/// y = (1/2)((2x)^4) ; [0, 0.5)
|
||||
/// y = -(1/2)((2x-2)^4 - 2) ; [0.5, 1]
|
||||
/// </summary>
|
||||
public static double QuarticEaseInOut(double p)
|
||||
{
|
||||
@@ -394,5 +356,43 @@ namespace Artemis.Core.Utilities
|
||||
return 0.5 * BounceEaseIn(p * 2);
|
||||
return 0.5 * BounceEaseOut(p * 2 - 1) + 0.5;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Easing Functions enumeration
|
||||
/// </summary>
|
||||
public enum Functions
|
||||
{
|
||||
Linear,
|
||||
QuadraticEaseIn,
|
||||
QuadraticEaseOut,
|
||||
QuadraticEaseInOut,
|
||||
CubicEaseIn,
|
||||
CubicEaseOut,
|
||||
CubicEaseInOut,
|
||||
QuarticEaseIn,
|
||||
QuarticEaseOut,
|
||||
QuarticEaseInOut,
|
||||
QuinticEaseIn,
|
||||
QuinticEaseOut,
|
||||
QuinticEaseInOut,
|
||||
SineEaseIn,
|
||||
SineEaseOut,
|
||||
SineEaseInOut,
|
||||
CircularEaseIn,
|
||||
CircularEaseOut,
|
||||
CircularEaseInOut,
|
||||
ExponentialEaseIn,
|
||||
ExponentialEaseOut,
|
||||
ExponentialEaseInOut,
|
||||
ElasticEaseIn,
|
||||
ElasticEaseOut,
|
||||
ElasticEaseInOut,
|
||||
BackEaseIn,
|
||||
BackEaseOut,
|
||||
BackEaseInOut,
|
||||
BounceEaseIn,
|
||||
BounceEaseOut,
|
||||
BounceEaseInOut
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user