first commit -push
This commit is contained in:
28
RobotNet.WebApp/Charts/Models/Common/ChartAnimation.cs
Normal file
28
RobotNet.WebApp/Charts/Models/Common/ChartAnimation.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using RobotNet.WebApp.Charts.Enums;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace RobotNet.WebApp.Charts.Models.Common;
|
||||
|
||||
public class ChartAnimation
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the number of milliseconds an animation takes.
|
||||
/// </summary>
|
||||
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
|
||||
public long? Duration { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Delay before starting the animations.
|
||||
/// </summary>
|
||||
public int Delay { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// If set to true, the animations loop endlessly.
|
||||
/// </summary>
|
||||
public bool Loop { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the easing function to use.
|
||||
/// </summary>
|
||||
public Easing Easing { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user