aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Pulse/TwnSegment.cs
blob: 07d4368d5c64fd704d9cd46dbe8d8d82a143f067 (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
35
using System.Collections.Generic;

namespace Tango.Pulse
{
    /// <summary>
    /// Represents a twn file brush segment.
    /// </summary>
    /// <remarks>
    /// The “Brush Segment” structure supports
    /// both solid and gradient segments.
    /// Solid segments are defined using a “Brush
    /// Segment” with a single “Brush Stop” with
    /// zero offset.
    /// </remarks>
    public class TwnSegment
    {
        /// <summary>
        /// Required thread length in centimeters.
        /// </summary>
        public float Length { get; set; }

        /// <summary>
        /// Array of brush stops.
        /// </summary>
        public List<TwnStop> BrushStops { get; set; }

        /// <summary>
        /// Initializes a new instance of the <see cref="TwnSegment"/> class.
        /// </summary>
        public TwnSegment()
        {
            BrushStops = new List<TwnStop>();
        }
    }
}