You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
384 B
11 lines
384 B
1 year ago
|
namespace StabilityMatrix.Core.Models.Settings;
|
||
|
|
||
|
public record struct Size(double Width, double Height)
|
||
|
{
|
||
|
public static Size operator +(Size current, Size other) =>
|
||
|
new(current.Width + other.Width, current.Height + other.Height);
|
||
|
|
||
|
public static Size operator -(Size current, Size other) =>
|
||
|
new(current.Width - other.Width, current.Height - other.Height);
|
||
|
}
|