12 writes to Y
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop (11)
src\Graphics\src\Graphics\Platforms\Windows\PlatformCanvas.cs (11)
190
_point1.
Y
= startPoint.Y;
193
_point2.
Y
= endPoint.Y;
239
_point1.
Y
= y + height / 2;
244
_point1.
Y
= x;
284
_point1.
Y
= (float)_rect.Y;
362
_point1.
Y
= y;
476
_linearGradientStartPoint.
Y
= y1;
478
_linearGradientEndPoint.
Y
= y2;
489
_radialGradientCenter.
Y
= centerY;
578
_point1.
Y
= startPoint.Y;
581
_point2.
Y
= endPoint.Y;
System.Drawing.Common (1)
System\Drawing\Graphics.cs (1)
3245
totalOffset.
Y
+= currentOffset.Y;
48 references to Y
Microsoft.Maui.Graphics (13)
Matrix3x2Extensions.cs (5)
80
matrix.M21 *= scale.
Y
;
81
matrix.M22 *= scale.
Y
;
134
m.M21 *= scale.
Y
;
135
m.M22 *= scale.
Y
;
137
m.M32 = translation.
Y
;
PathF.cs (3)
1561
flattenedPoints.Add(new Point(vector.X, vector.
Y
));
1575
flattenedPoints.Add(new Point(vectors[i].X, vectors[i].
Y
));
1587
flattenedPoints.Add(new Point(vectors[3].X, vectors[3].
Y
));
Point.cs (1)
45
Y = v.
Y
;
PointF.cs (1)
39
Y = v.
Y
;
Size.cs (1)
30
Height = vector.
Y
;
SizeF.cs (2)
30
Height = vector.
Y
;
88
return new SizeF(size.X, size.
Y
);
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop (3)
src\Graphics\src\Graphics\Platforms\Windows\PlatformCanvas.cs (3)
198
new Vector2(_point2.X, _point2.
Y
),
586
new Vector2(_point2.X, _point2.
Y
),
809
imageSession.Transform = CurrentState.Matrix.Translate(CurrentState.ShadowOffset.X, CurrentState.ShadowOffset.
Y
);
System.Drawing.Common (8)
System\Drawing\Graphics.cs (5)
3243
cumulativeClip?.Translate(currentOffset.X, currentOffset.
Y
);
3245
totalOffset.Y += currentOffset.
Y
;
3283
cumulativeClip?.Translate(-totalOffset.X, -totalOffset.
Y
);
3365
offset = new PointF(translation.X, translation.
Y
);
3379
offset = new PointF(translation.X, translation.
Y
);
System\Drawing\NumericsExtensions.cs (3)
16
matrix.M31 += (offset.X * matrix.M11) + (offset.
Y
* matrix.M21);
17
matrix.M32 += (offset.X * matrix.M12) + (offset.
Y
* matrix.M22);
20
internal static bool IsEmpty(this Vector2 vector) => vector.X == 0 && vector.
Y
== 0;
System.Drawing.Primitives (2)
System\Drawing\PointF.cs (1)
41
y = vector.
Y
;
System\Drawing\SizeF.cs (1)
52
height = vector.
Y
;
System.Private.CoreLib (22)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Matrix3x2.cs (15)
672
float x = centerPoint.X * (1 - c) + centerPoint.
Y
* s;
673
float y = centerPoint.
Y
* (1 - c) - centerPoint.X * s;
697
result.Y = Vector2.Create(0, scales.
Y
);
746
result.Y = Vector2.Create(0, scales.
Y
);
810
float tx = -centerPoint.
Y
* xTan;
862
float det = (matrix.X.X * matrix.Y.
Y
) - (matrix.Y.X * matrix.X.
Y
);
878
+matrix.Y.
Y
* invDet,
879
-matrix.X.
Y
* invDet
886
(matrix.Y.X * matrix.Z.
Y
- matrix.Z.X * matrix.Y.
Y
) * invDet,
887
(matrix.Z.X * matrix.X.
Y
- matrix.X.X * matrix.Z.
Y
) * invDet
989
return (impl.X.X * impl.Y.
Y
) -
990
(impl.X.
Y
* impl.Y.X);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Vector2.cs (7)
57
/// <param name="y">The value to assign to the <see cref="
Y
" /> field.</param>
419
/// <param name="y">The value to assign to the <see cref="
Y
" /> field.</param>
889
/// <param name="yIndex">The index used to select a value from <paramref name="vector" /> to be used as the value of <see cref="
Y
" /> in the result</param>
1088
/// <remarks>The current instance and <paramref name="obj" /> are equal if <paramref name="obj" /> is a <see cref="Vector2" /> object and their <see cref="X" /> and <see cref="
Y
" /> elements are equal.</remarks>
1094
/// <remarks>Two vectors are equal if their <see cref="X" /> and <see cref="
Y
" /> elements are equal.</remarks>
1100
public override readonly int GetHashCode() => HashCode.Combine(X,
Y
);
1145
handler.AppendFormatted(
Y
, format);