CanvasCapStyle Enumeration |
Namespace: Microsoft.Graphics.Canvas.Geometry
public enum CanvasCapStyle
Member name | Value | Description | |
---|---|---|---|
Flat | 0 | A cap that does not extend past the last point of the line. If CanvasStrokeStyle.DashCap is set to Flat, dots will have zero size so only dashes are visible. | |
Square | 1 | Half of a square that has a length equal to the line thickness. | |
Round | 2 | A semicircle that has a diameter equal to the line thickness. | |
Triangle | 3 | An isosceles right triangle whose hypotenuse is equal in length to the thickness of the line. |
This illustration shows the available cap styles. The red portion of the line shows the extra area added by the cap setting.