Shape.StrokeMiterLimit
property · Shape · cAlgo.API
DesktopCLICloud
Gets or sets a limit on the ratio of the miter length to half the StrokeThickness of a Shape element.
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 double StrokeMiterLimit {get; set;}
shape.StrokeMiterLimit: float
Returns double
Examples
var polyline = new Polyline { StrokeColor = Color.Orange, StrokeThickness = 8, StrokeLineJoin = PenLineJoin.Miter, StrokeMiterLimit = 2 };
polyline.Points = new[] { new Point(0, 60), new Point(10, 0), new Point(20, 60) };
Chart.AddControl(polyline);
polyline = Polyline()
polyline.StrokeColor = Color.Orange
polyline.StrokeThickness = 8
polyline.StrokeLineJoin = PenLineJoin.Miter
polyline.StrokeMiterLimit = 2
polyline.Points = [Point(0, 60), Point(10, 0), Point(20, 60)]
api.Chart.AddControl(polyline)