mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
25 lines
647 B
C#
25 lines
647 B
C#
using System.Text.Json.Serialization;
|
|
using Artemis.Core;
|
|
using Artemis.Storage.Entities.Profile;
|
|
|
|
namespace Artemis.UI.Models;
|
|
|
|
public class KeyframeClipboardModel: IClipboardModel
|
|
{
|
|
public const string ClipboardDataFormat = "Artemis.Keyframes";
|
|
|
|
[JsonConstructor]
|
|
public KeyframeClipboardModel()
|
|
{
|
|
}
|
|
|
|
public KeyframeClipboardModel(ILayerPropertyKeyframe keyframe)
|
|
{
|
|
KeyframeEntity entity = keyframe.GetKeyframeEntity();
|
|
Path = keyframe.UntypedLayerProperty.Path;
|
|
Entity = entity;
|
|
}
|
|
|
|
public string Path { get; set; } = null!;
|
|
public KeyframeEntity Entity { get; set; } = null!;
|
|
} |