Size.Addition(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.
Adds two sizes together by adding 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 first size to add.
- s2
- Size
The second size to add.
Returns
A new size with the width and height being the sum of the two sizes.