Rect 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 Rect
[System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Graphics.Converters.RectTypeConverter))]
public struct Rect
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Graphics.Converters.RectTypeConverter))>]
type Rect = struct
Public Structure Rect
- Inheritance
-
Rect
- Attributes
Constructors
Rect(Double, Double, Double, Double) | |
Rect(Point, Size) |
Fields
Zero |
Properties
Bottom | |
Center | |
Height | |
IsEmpty | |
Left | |
Location | |
Right | |
Size | |
Top | |
Width | |
X | |
Y |
Methods
Operators
Equality(Rect, Rect) | |
Implicit(Rect to RectF) | |
Inequality(Rect, Rect) |
Extension Methods
Lerp(Rect, Rect, Double) |
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.