Skip to content

Polyline.FillRule

property · Polyline · cAlgo.API

DesktopCLICloud

Gets or sets a FillRule enumeration that specifies how the interior fill of the shape is determined.

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 FillRule FillRule {get; set;}
polyline.FillRule: FillRule

Returns FillRule

Examples

var polyline = new Polyline { StrokeColor = Color.White, FillColor = Color.FromArgb(80, Color.Blue), FillRule = FillRule.EvenOdd };
polyline.Points = new[] { new Point(0, 0), new Point(100, 100), new Point(100, 0), new Point(0, 100) };
Chart.AddControl(polyline);
polyline = Polyline()
polyline.StrokeColor = Color.White
polyline.FillColor = Color.FromArgb(80, Color.Blue)
polyline.FillRule = FillRule.EvenOdd
polyline.Points = [Point(0, 0), Point(100, 100), Point(100, 0), Point(0, 100)]
api.Chart.AddControl(polyline)