7 types derived from Shape
Microsoft.Maui.Controls (7)
Shapes\Ellipse.cs (1)
8 public sealed partial class Ellipse : Shape, IShape
Shapes\Line.cs (1)
8 public sealed partial class Line : Shape, IShape
Shapes\Path.cs (1)
10 public sealed partial class Path : Shape, IShape
Shapes\Polygon.cs (1)
8 public sealed partial class Polygon : Shape, IShape
Shapes\Polyline.cs (1)
8 public sealed partial class Polyline : Shape, IShape
Shapes\Rectangle.cs (1)
9 public sealed partial class Rectangle : Shape, IShape
Shapes\RoundRectangle.cs (1)
8 public sealed partial class RoundRectangle : Shape, IShape, IRoundRectangle
20 references to Shape
Microsoft.Maui.Controls (20)
Border\Border.cs (1)
330 if (StrokeShape is Shape strokeShape && StrokeThickness == 0)
Hosting\AppHostBuilderExtensions.cs (1)
259 Shape.RemapForControls();
RadioButton\RadioButton.cs (4)
592 Property = Shape.StrokeProperty, 599 Property = Shape.StrokeProperty, 606 Property = Shape.FillProperty, 618 Property = Shape.StrokeProperty,
Shapes\Shape.cs (13)
34 BindableProperty.Create(nameof(Fill), typeof(Brush), typeof(Shape), null, 38 (bindable as Shape)?.StopNotifyingFillChanges(); 43 (bindable as Shape)?.NotifyFillChanges(); 48 BindableProperty.Create(nameof(Stroke), typeof(Brush), typeof(Shape), null, 52 (bindable as Shape)?.StopNotifyingStrokeChanges(); 57 (bindable as Shape)?.NotifyStrokeChanges(); 62 BindableProperty.Create(nameof(StrokeThickness), typeof(double), typeof(Shape), 1.0); 66 BindableProperty.Create(nameof(StrokeDashArray), typeof(DoubleCollection), typeof(Shape), null, 71 BindableProperty.Create(nameof(StrokeDashOffset), typeof(double), typeof(Shape), 0.0); 75 BindableProperty.Create(nameof(StrokeLineCap), typeof(PenLineCap), typeof(Shape), PenLineCap.Flat); 79 BindableProperty.Create(nameof(StrokeLineJoin), typeof(PenLineJoin), typeof(Shape), PenLineJoin.Miter); 83 BindableProperty.Create(nameof(StrokeMiterLimit), typeof(double), typeof(Shape), 10.0); 87 BindableProperty.Create(nameof(Aspect), typeof(Stretch), typeof(Shape), Stretch.None);
Shapes\StrokeShapeTypeConverter.cs (1)
128 throw new InvalidOperationException($"Cannot convert \"{strValue}\" into {typeof(Shape)}");