-
Notifications
You must be signed in to change notification settings - Fork 75
/
Copy pathILedLayout.cs
49 lines (40 loc) · 1.17 KB
/
ILedLayout.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
using RGB.NET.Core;
namespace RGB.NET.Layout;
/// <summary>
/// Represents a generic layour of a LED.
/// </summary>
public interface ILedLayout
{
/// <summary>
/// Gets or sets the Id of the <see cref="LedLayout"/>.
/// </summary>
string? Id { get; }
/// <summary>
/// Gets or sets the <see cref="RGB.NET.Core.Shape"/> of the <see cref="LedLayout"/>.
/// </summary>
Shape Shape { get; }
/// <summary>
/// Gets or sets the vecor-data representing a custom-shape of the <see cref="LedLayout"/>.
/// </summary>
string? ShapeData { get; }
/// <summary>
/// Gets the x-position of the <see cref="LedLayout"/>.
/// </summary>
float X { get; }
/// <summary>
/// Gets the y-position of the <see cref="LedLayout"/>.
/// </summary>
float Y { get; }
/// <summary>
/// Gets the width of the <see cref="LedLayout"/>.
/// </summary>
float Width { get; }
/// <summary>
/// Gets the height of the <see cref="LedLayout"/>.
/// </summary>
float Height { get; }
/// <summary>
/// Gets the the custom data associated with the LED.
/// </summary>
object? CustomData { get; }
}