Home | ClipperLib |

# EndType

Del.» type TEndType = (etClosedPolygon, etClosedLine, etOpenSquare, etOpenRound, etOpenButt);

C++ » enum EndType {etClosedPolygon, etClosedLine, etOpenSquare, etOpenRound, etOpenButt};

C# » public enum EndType {etClosedPolygon, etClosedLine, etOpenSquare, etOpenRound, etOpenButt};

The EndType enumerator has 5 values:

- etClosedPolygon: Ends are joined using the JoinType value and the path filled as a polygon
- etClosedLine: Ends are joined using the JoinType value and the path filled as a polyline
- etOpenSquare: Ends are squared off and extended delta units
- etOpenRound: Ends are rounded off and extended delta units
- etOpenButt: Ends are squared off with no extension.
- etOpenSingle: Offsets an open path in a single direction. Planned for a future update.

Note: With etClosedPolygon and etClosedLine types, the path closure will be the same regardless of whether or not the first and last vertices in the path match.

## See Also

ClipperOffset.AddPath, ClipperOffset.AddPaths

Copyright ©2010-2014 Angus Johnson - Clipper 6.2.1 - Help file built on 1-November-2014