Skip to content

Shape.StrokeStartLineCap

property · Shape · cAlgo.API

DesktopCLICloud

Gets or sets the shape at the beginning 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 StrokeStartLineCap {get; set;}
shape.StrokeStartLineCap: PenLineCap

Returns PenLineCap

Examples

var line = new Line { X1 = 10, Y1 = 10, X2 = 200, Y2 = 10, StrokeColor = Color.White, StrokeThickness = 6, StrokeStartLineCap = PenLineCap.Round };
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.StrokeStartLineCap = PenLineCap.Round
api.Chart.AddControl(line)