6 writes to Y
Microsoft.Maui.Graphics (5)
RectF.cs (5)
32 Y = y; 134 set => Y = value; 173 Y = value.Y; 189 r.Y -= height; 199 r.Y += dy;
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop (1)
src\Graphics\src\Graphics\Platforms\Windows\PlatformGraphicsView.cs (1)
83 _dirty.Y = 0f;
46 references to Y
Microsoft.Maui.Controls (2)
Shapes\Shape.cs (2)
299 (float)(pathBounds.Y + viewBounds.Top - pathBounds.Top)); 402 result.Height += pathBounds.Y;
Microsoft.Maui.Graphics (37)
CanvasExtensions.cs (11)
17 target.DrawRectangle(rect.X, rect.Y, rect.Width, rect.Height); 27 target.FillRectangle(rect.X, rect.Y, rect.Width, rect.Height); 37 target.DrawRoundedRectangle(rect.X, rect.Y, rect.Width, rect.Height, cornerRadius); 75 target.FillRoundedRectangle(rect.X, rect.Y, rect.Width, rect.Height, cornerRadius); 113 target.DrawEllipse(rect.X, rect.Y, rect.Width, rect.Height); 123 target.FillEllipse(rect.X, rect.Y, rect.Width, rect.Height); 153 target.ClipRectangle(rect.X, rect.Y, rect.Width, rect.Height); 177 target.DrawString(value, bounds.X, bounds.Y, bounds.Width, bounds.Height, horizontalAlignment, verticalAlignment, textFlow, lineSpacingAdjustment); 267 canvas.DrawArc(bounds.X, bounds.Y, bounds.Width, bounds.Height, startAngle, endAngle, clockwise, closed); 297 canvas.FillArc(bounds.X, bounds.Y, bounds.Width, bounds.Height, startAngle, endAngle, clockwise); 375 target.SubtractFromClip(rect.X, rect.Y, rect.Width, rect.Height);
Converters\RectFTypeConverter.cs (1)
46 return $"{r.X.ToString(CultureInfo.InvariantCulture)}, {r.Y.ToString(CultureInfo.InvariantCulture)}, {r.Width.ToString(CultureInfo.InvariantCulture)}, {r.Height.ToString(CultureInfo.InvariantCulture)}";
PathF.cs (8)
1033 AppendEllipse(rect.X, rect.Y, rect.Width, rect.Height); 1081 AppendRectangle(rect.X, rect.Y, rect.Width, rect.Height, includeLast); 1106 AppendRoundedRectangle(rect.X, rect.Y, rect.Width, rect.Height, cornerRadius, includeLast); 1140 AppendRoundedRectangle(rect.X, rect.Y, rect.Width, rect.Height, topLeftCornerRadius, topRightCornerRadius, bottomLeftCornerRadius, bottomRightCornerRadius, includeLast); 1149 float minY = Math.Min(rect.Y, rect.Y + rect.Height); 1151 float maxY = Math.Max(rect.Y, rect.Y + rect.Height);
RectF.cs (16)
24 return string.Format("{{X={0} Y={1} Width={2} Height={3}}}", X.ToString(CultureInfo.InvariantCulture), Y.ToString(CultureInfo.InvariantCulture), Width.ToString(CultureInfo.InvariantCulture), 48 return X.Equals(other.X) && Y.Equals(other.Y) && Width.Equals(other.Width) && Height.Equals(other.Height); 63 hashCode = (hashCode * 397) ^ Y.GetHashCode(); 83 return X <= rect.X && Right >= rect.Right && Y <= rect.Y && Bottom >= rect.Bottom; 119 float y = Math.Max(r1.Y, r2.Y); 133 get => Y; 139 get => Y + Height; 140 set => Height = value - Y; 169 get => new PointF(X, Y); 177 public PointF Center => new PointF(X + Width / 2, Y + Height / 2); 210 return new RectF(MathF.Round(X), MathF.Round(Y), MathF.Round(Width), MathF.Round(Height)); 216 y = Y; 221 public static implicit operator Rect(RectF rect) => new Rect(rect.X, rect.Y, rect.Width, rect.Height);
ScalingCanvas.cs (1)
205 _canvas.SetFillPaint(paint, new RectF(rectangle.X * _scaleX, rectangle.Y * _scaleY, rectangle.Width * _scaleX, rectangle.Height * _scaleY));
Microsoft.Maui.Graphics.Skia (4)
SkiaCanvas.cs (3)
243 float y1 = (float)(linearGradientPaint.StartPoint.Y * rectangle.Height) + rectangle.Y; 246 float y2 = (float)(linearGradientPaint.EndPoint.Y * rectangle.Height) + rectangle.Y; 290 float centerY = (float)(radialGradientPaint.Center.Y * rectangle.Height) + rectangle.Y;
SkiaTextLayout.cs (1)
58 var y = _rect.Y;
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop (3)
src\Graphics\src\Graphics\Platforms\Windows\PlatformCanvas.cs (3)
470 float y1 = (float)(linearGradientPaint.StartPoint.Y * rectangle.Height) + rectangle.Y; 473 float y2 = (float)(linearGradientPaint.EndPoint.Y * rectangle.Height) + rectangle.Y; 485 float centerY = (float)(radialGradientPaint.Center.Y * rectangle.Height) + rectangle.Y;