SizeF 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.
Represents a size with single-precision floating-point width and height.
public value class SizeF
[System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Graphics.Converters.SizeFTypeConverter))]
public struct SizeF
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Graphics.Converters.SizeFTypeConverter))>]
type SizeF = struct
Public Structure SizeF
- Inheritance
-
SizeF
- Attributes
Constructors
| SizeF(Single, Single) |
Initializes a new instance of the SizeF struct with the specified width and height. |
| SizeF(Single) |
Initializes a new instance of the SizeF struct with the specified value for both width and height. |
| SizeF(Vector2) | |
Fields
| Zero |
A size with both width and height set to zero. |
Properties
| Height | |
| IsZero | |
| Width |
Methods
| Deconstruct(Single, Single) | |
| Equals(Object) | |
| Equals(SizeF) | |
| GetHashCode() | |
| ToString() | |
| TransformNormalBy(Matrix3x2) | |
| TryParse(String, SizeF) |
Operators
Extension Methods
| Lerp(SizeF, SizeF, Double) | |
| AsSizeF(SizeF) |
Converts a .NET MAUI Graphics SizeF to a SkiaSharp SKSize. |