Compartilhar via


Rect Struct

Definition

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

Contains(Double, Double)
Contains(Point)
Contains(Rect)
Deconstruct(Double, Double, Double, Double)
Equals(Object)
Equals(Rect)
FromLTRB(Double, Double, Double, Double)
GetHashCode()
Inflate(Double, Double)
Inflate(Size)
Intersect(Rect, Rect)
Intersect(Rect)
IntersectsWith(Rect)
Offset(Double, Double)
Offset(Point)
Round()
ToString()
TryParse(String, Rect)
Union(Rect, Rect)
Union(Rect)

Operators

Equality(Rect, Rect)
Implicit(Rect to RectF)
Inequality(Rect, Rect)

Extension Methods

Lerp(Rect, Rect, Double)

Applies to