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