5 writes to Height
Microsoft.Maui.Graphics (4)
RectF.cs (4)
34
Height
= height;
140
set =>
Height
= value - Y;
163
Height
= value.Height;
191
r.
Height
+= height * 2;
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop (1)
src\Graphics\src\Graphics\Platforms\Windows\PlatformGraphicsView.cs (1)
85
_dirty.
Height
= (float)sender.ActualHeight;
45 references to Height
Microsoft.Maui.Controls (2)
Shapes\Shape.cs (2)
311
float calculatedHeight = (float)(viewBounds.Height / pathBounds.
Height
);
338
(viewBounds.Height - minScale * pathBounds.
Height
) / 2));
Microsoft.Maui.Graphics (31)
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 (7)
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);
1146
yCornerRadius = Math.Min(yCornerRadius, rect.
Height
/ 2);
1149
float minY = Math.Min(rect.Y, rect.Y + rect.
Height
);
1151
float maxY = Math.Max(rect.Y, rect.Y + rect.
Height
);
RectF.cs (11)
25
Height
.ToString(CultureInfo.InvariantCulture));
48
return X.Equals(other.X) && Y.Equals(other.Y) && Width.Equals(other.Width) &&
Height
.Equals(other.
Height
);
65
hashCode = (hashCode * 397) ^
Height
.GetHashCode();
139
get => Y +
Height
;
155
public bool IsEmpty => (Width <= 0) || (
Height
<= 0);
159
get => new SizeF(Width,
Height
);
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
));
218
height =
Height
;
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 (6)
SkiaCanvas.cs (4)
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;
291
float radius = (float)radialGradientPaint.Radius * Math.Max(rectangle.
Height
, rectangle.Width);
SkiaImage.cs (1)
149
canvas.DrawImage(this, dirtyRect.Left, dirtyRect.Top, MathF.Round(dirtyRect.Width), MathF.Round(dirtyRect.
Height
));
SkiaTextLayout.cs (1)
60
var height = _rect.
Height
;
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop (6)
src\Graphics\src\Graphics\Platforms\Windows\PlatformCanvas.cs (4)
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;
486
float radius = (float)radialGradientPaint.Radius * Math.Max(rectangle.
Height
, rectangle.Width);
src\Graphics\src\Graphics\Platforms\Windows\PlatformGraphicsView.cs (1)
89
_canvas.CanvasSize = new global::Windows.Foundation.Size(_dirty.Width, _dirty.
Height
);
src\Graphics\src\Graphics\Platforms\Windows\PlatformImage.cs (1)
140
canvas.DrawImage(this, dirtyRect.Left, dirtyRect.Top, Math.Abs(dirtyRect.Width), Math.Abs(dirtyRect.
Height
));