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
31 references to Shape
Microsoft.Maui.Controls (20)
Border\Border.cs (1)
330 if (StrokeShape is Shape strokeShape && StrokeThickness == 0)
Hosting\AppHostBuilderExtensions.cs (1)
266 Shape.RemapForControls();
RadioButton\RadioButton.cs (4)
585 Property = Shape.StrokeProperty, 592 Property = Shape.StrokeProperty, 599 Property = Shape.FillProperty, 611 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)}");
Microsoft.Maui.Controls.Compatibility (11)
iOS\Shapes\ShapeRenderer.cs (11)
6using Shape = Microsoft.Maui.Controls.Shapes.Shape; 23 where TShape : Shape 69 else if (args.PropertyName == Shape.AspectProperty.PropertyName) 71 else if (args.PropertyName == Shape.FillProperty.PropertyName) 73 else if (args.PropertyName == Shape.StrokeProperty.PropertyName) 75 else if (args.PropertyName == Shape.StrokeThicknessProperty.PropertyName) 77 else if (args.PropertyName == Shape.StrokeDashArrayProperty.PropertyName) 79 else if (args.PropertyName == Shape.StrokeDashOffsetProperty.PropertyName) 81 else if (args.PropertyName == Shape.StrokeLineCapProperty.PropertyName) 83 else if (args.PropertyName == Shape.StrokeLineJoinProperty.PropertyName) 85 else if (args.PropertyName == Shape.StrokeMiterLimitProperty.PropertyName)