Skip to content

Shape.StrokeEndLineCap

property · Shape · cAlgo.API

DesktopCLICloud

Gets or sets the shape at the end of a line.

Environment behaviour

CLI — not supported. Accepted without error but never displayed, so control events such as Click are never raised.

Cloud — not supported. Accepted without error but never displayed, so control events such as Click are never raised.

Definition

public PenLineCap StrokeEndLineCap {get; set;}
shape.StrokeEndLineCap: PenLineCap

Returns PenLineCap

Examples

var line = new Line { X1 = 10, Y1 = 10, X2 = 200, Y2 = 10, StrokeColor = Color.White, StrokeThickness = 6, StrokeEndLineCap = PenLineCap.Triangle };
Chart.AddControl(line);
line = Line()
line.X1 = 10
line.Y1 = 10
line.X2 = 200
line.Y2 = 10
line.StrokeColor = Color.White
line.StrokeThickness = 6
line.StrokeEndLineCap = PenLineCap.Triangle
api.Chart.AddControl(line)