Size Struct
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.
public value class Size
[System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Graphics.Converters.SizeTypeConverter))]
public struct Size
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Graphics.Converters.SizeTypeConverter))>]
type Size = struct
Public Structure Size
- Inheritance
-
Size
- Attributes
Constructors
Size(Double, Double) | |
Size(Double) | |
Size(Vector2) |
Fields
Zero |
Properties
Height | |
IsZero | |
Width |
Methods
Deconstruct(Double, Double) | |
Equals(Object) | |
Equals(Size) | |
GetHashCode() | |
ToString() | |
TryParse(String, Size) |
Operators
Addition(Size, Size) | |
Division(Size, Double) | |
Equality(Size, Size) | |
Explicit(Size to Point) | |
Implicit(Size to SizeF) | |
Inequality(Size, Size) | |
Multiply(Size, Double) | |
Subtraction(Size, Size) |
Extension Methods
Lerp(Size, Size, Double) | |
AdjustForFill(Size, Rect, IView) |
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.