ToString formatting of Point and Rectangle
This commit is contained in:
parent
7e22fa58e3
commit
073c2beebc
@ -26,7 +26,7 @@ public struct Point
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return $"{{X={X,-7:####0}, Y={Y,-7:####0}}}";
|
||||
return $"{{X={X,-6:####0}, Y={Y,-6:####0}}}";
|
||||
}
|
||||
|
||||
public override bool Equals(object? obj)
|
||||
|
@ -94,6 +94,6 @@ public struct Rectangle
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return $"{{Left={Left,-7:####0}, Top={Top,-7:####0}, Right={Right,-7:####0}, Bottom={Bottom,-7:####0}}}";
|
||||
return $"{{LTRB {Left,-6:####0},{Top,-6:####0},{Right,-6:####0},{Bottom,-6:####0}}}";
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user