aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.RemoteDesktop/Frames/VectorFramePixel.cs
blob: df1a71232eab42fa6efd262bf6f2e345b110f8ec (plain)
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
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tango.RemoteDesktop.Frames
{
    /// <summary>
    /// Represents a <see cref="VectorFrame"/> pixel.
    /// </summary>
    public struct VectorFramePixel
    {
        /// <summary>
        /// Gets or sets the x position.
        /// </summary>
        public int X { get; set; }
        /// <summary>
        /// Gets or sets the y position.
        /// </summary>
        public int Y { get; set; }

        /// <summary>
        /// Gets or sets the index of the color.
        /// </summary>
        public int ColorIndex { get; set; }

        /// <summary>
        /// Gets or sets the pixel color (not for serialization!).
        /// </summary>
        public VectorFrameColor Color { get; set; }
    }
}