2018-01-10 19:49:32 +00:00
|
|
|
|
namespace UglyToad.PdfPig.Graphics.Core
|
2017-11-26 22:19:42 +00:00
|
|
|
|
{
|
2019-01-03 22:20:53 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The line cap style specifies the shape to be used at the ends of open subpaths (and dashes, if any) when they are stroked.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public enum LineCapStyle
|
2017-11-26 22:19:42 +00:00
|
|
|
|
{
|
2019-01-03 22:20:53 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The stroke is squared off at the endpoint of the path. There is no projection beyond the end of the path.
|
|
|
|
|
|
/// </summary>
|
2017-11-26 22:19:42 +00:00
|
|
|
|
Butt = 0,
|
2019-01-03 22:20:53 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// A semicircular arc with a diameter equal to the line width is drawn around the endpoint and filled in.
|
|
|
|
|
|
/// </summary>
|
2017-11-26 22:19:42 +00:00
|
|
|
|
Round = 1,
|
2019-01-03 22:20:53 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The stroke continues beyond the endpoint of the path for a distance equal to half the line width and is squared off.
|
|
|
|
|
|
/// </summary>
|
2017-11-26 22:19:42 +00:00
|
|
|
|
ProjectingSquare = 2
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|