Size.Subtraction(Size, Size) Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Subtracts one size from another by subtracting their width and height components.
public:
static Microsoft::Maui::Graphics::Size operator -(Microsoft::Maui::Graphics::Size s1, Microsoft::Maui::Graphics::Size s2);
public static Microsoft.Maui.Graphics.Size operator -(Microsoft.Maui.Graphics.Size s1, Microsoft.Maui.Graphics.Size s2);
static member ( - ) : Microsoft.Maui.Graphics.Size * Microsoft.Maui.Graphics.Size -> Microsoft.Maui.Graphics.Size
Public Shared Operator - (s1 As Size, s2 As Size) As Size
Parameters
- s1
- Size
The size to subtract from.
- s2
- Size
The size to subtract.
Returns
A new size with the width and height being the difference of the two sizes.