diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-03-06 14:23:47 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-03-06 14:23:47 +0200 |
| commit | 1d0a3a5c47a2ba4cdabb9f8a4fab694d4987083f (patch) | |
| tree | 9500aca3038e50b9a8e0120dfcd183b4a81f5011 /Software/Visual_Studio/Tango.Pulse/TwnSegment.cs | |
| parent | 745cb5da6ddf2418258892fa49f4e03b28645bed (diff) | |
| download | Tango-1d0a3a5c47a2ba4cdabb9f8a4fab694d4987083f.tar.gz Tango-1d0a3a5c47a2ba4cdabb9f8a4fab694d4987083f.zip | |
Implemented pulse TWN file.
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>(); + } + } +} |
