Partager via


Rect Structure

Définition

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
Héritage
Rect
Attributs

Constructeurs

Rect(Double, Double, Double, Double)
Rect(Point, Size)

Champs

Zero

Propriétés

Bottom
Center
Height
IsEmpty
Left
Location
Right
Size
Top
Width
X
Y

Méthodes

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)
Intersect(Rect, Rect)
IntersectsWith(Rect)
Offset(Double, Double)
Offset(Point)
Round()
ToString()
TryParse(String, Rect)
Union(Rect)
Union(Rect, Rect)

Opérateurs

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

Méthodes d’extension

Lerp(Rect, Rect, Double)

S’applique à