diff options
Diffstat (limited to 'Software/Visual_Studio/Tango.RemoteDesktop/Frames/VectorFramePixel.cs')
| -rw-r--r-- | Software/Visual_Studio/Tango.RemoteDesktop/Frames/VectorFramePixel.cs | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.RemoteDesktop/Frames/VectorFramePixel.cs b/Software/Visual_Studio/Tango.RemoteDesktop/Frames/VectorFramePixel.cs new file mode 100644 index 000000000..df1a71232 --- /dev/null +++ b/Software/Visual_Studio/Tango.RemoteDesktop/Frames/VectorFramePixel.cs @@ -0,0 +1,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; } + } +} |
