3 writes to Width
Microsoft.Maui.Graphics (3)
SizeF.cs (3)
17
Width
= size;
23
Width
= width;
29
Width
= vector.X;
35 references to Width
Microsoft.Maui (2)
Animations\AnimationLerpingExtensions.cs (2)
21
new SizeF(start.
Width
.Lerp(end.
Width
, progress), start.Height.Lerp(end.Height, progress));
Microsoft.Maui.Controls (1)
Shapes\Shape.cs (1)
389
result.Width = boundsByFlattening.
Width
;
Microsoft.Maui.Graphics (29)
Converters\SizeFTypeConverter.cs (1)
43
return $"{size.
Width
.ToString(CultureInfo.InvariantCulture)}, {size.Height.ToString(CultureInfo.InvariantCulture)}";
Point.cs (3)
38
X = sz.
Width
;
92
return new Point(pt.X + sz.
Width
, pt.Y + sz.Height);
102
return new Point(pt.X - sz.
Width
, pt.Y - sz.Height);
PointF.cs (3)
32
X = sz.
Width
;
91
return new PointF(pt.X + sz.
Width
, pt.Y + sz.Height);
101
return new PointF(pt.X - sz.
Width
, pt.Y - sz.Height);
RectF.cs (3)
37
public RectF(PointF loc, SizeF sz) : this(loc.X, loc.Y, sz.
Width
, sz.Height)
162
Width = value.
Width
;
182
return Inflate(sz.
Width
, sz.Height);
SizeF.cs (19)
33
public bool IsZero =>
Width
== 0 && Height == 0;
48
return new SizeF(s1.
Width
+ s2.
Width
, s1.Height + s2.Height);
53
return new SizeF(s1.
Width
- s2.
Width
, s1.Height - s2.Height);
58
return new SizeF(s1.
Width
* value, s1.Height * value);
63
return new SizeF(s1.
Width
/ value, s1.Height / value);
68
return s1.
Width
== s2.
Width
&& s1.Height == s2.Height;
73
return s1.
Width
!= s2.
Width
|| s1.Height != s2.Height;
78
return new PointF(size.
Width
, size.Height);
83
return new Vector2(size.
Width
, size.Height);
93
return
Width
.Equals(other.
Width
) && Height.Equals(other.Height);
107
return (
Width
.GetHashCode() * 397) ^ Height.GetHashCode();
113
return string.Format("{{Width={0} Height={1}}}",
Width
.ToString(CultureInfo.InvariantCulture), Height.ToString(CultureInfo.InvariantCulture));
118
width =
Width
;
122
public static implicit operator Size(SizeF s) => new Size(s.
Width
, s.Height);
Microsoft.Maui.Graphics.Skia (2)
SKGraphicsExtensions.cs (1)
349
return new SKSize(target.
Width
, target.Height);
SkiaCanvas.cs (1)
728
var sx = actualOffset.
Width
;
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop (1)
src\Graphics\src\Graphics\Platforms\Windows\PlatformCanvasState.cs (1)
405
ShadowOffset = new Vector2(offset.
Width
, offset.Height);