1 write to Rect
Microsoft.Maui.Controls (1)
Shapes\RoundRectangleGeometry.cs (1)
21
Rect
= rect;
42 references to Rect
Microsoft.Maui.Controls (42)
Shapes\RoundRectangleGeometry.cs (42)
24
/// <summary>Bindable property for <see cref="
Rect
"/>.</summary>
26
BindableProperty.Create(nameof(
Rect
), typeof(Rect), typeof(RoundRectangleGeometry), new Rect(),
76
new EllipseGeometry(new Point(
Rect
.Location.X + CornerRadius.TopLeft,
Rect
.Location.Y + CornerRadius.TopLeft), CornerRadius.TopLeft, CornerRadius.TopLeft));
80
new EllipseGeometry(new Point(
Rect
.Location.X +
Rect
.Width - CornerRadius.TopRight,
Rect
.Location.Y + CornerRadius.TopRight), CornerRadius.TopRight, CornerRadius.TopRight));
84
new EllipseGeometry(new Point(
Rect
.Location.X +
Rect
.Width - CornerRadius.BottomRight,
Rect
.Location.Y +
Rect
.Height - CornerRadius.BottomRight), CornerRadius.BottomRight, CornerRadius.BottomRight));
88
new EllipseGeometry(new Point(
Rect
.Location.X + CornerRadius.BottomLeft,
Rect
.Location.Y +
Rect
.Height - CornerRadius.BottomLeft), CornerRadius.BottomLeft, CornerRadius.BottomLeft));
93
StartPoint = new Point(
Rect
.Location.X + CornerRadius.TopLeft,
Rect
.Location.Y),
96
new LineSegment { Point = new Point(
Rect
.Location.X +
Rect
.Width - CornerRadius.TopRight,
Rect
.Location.Y) },
97
new LineSegment { Point = new Point(
Rect
.Location.X +
Rect
.Width,
Rect
.Location.Y + CornerRadius.TopRight) },
98
new LineSegment { Point = new Point(
Rect
.Location.X +
Rect
.Width,
Rect
.Location.Y +
Rect
.Height - CornerRadius.BottomRight) },
99
new LineSegment { Point = new Point(
Rect
.Location.X +
Rect
.Width - CornerRadius.BottomRight,
Rect
.Location.Y +
Rect
.Height) },
100
new LineSegment { Point = new Point(
Rect
.Location.X + CornerRadius.BottomLeft,
Rect
.Location.Y +
Rect
.Height) },
101
new LineSegment { Point = new Point(
Rect
.Location.X,
Rect
.Location.Y +
Rect
.Height - CornerRadius.BottomLeft) },
102
new LineSegment { Point = new Point(
Rect
.Location.X,
Rect
.Location.Y + CornerRadius.TopLeft) }
118
float x = (float)
Rect
.X;
119
float y = (float)
Rect
.Y;
120
float w = (float)
Rect
.Width;
121
float h = (float)
Rect
.Height;