共用方式為


RectF Struct

Definition

public value class RectF
[System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Graphics.Converters.RectFTypeConverter))]
public struct RectF
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Graphics.Converters.RectFTypeConverter))>]
type RectF = struct
Public Structure RectF
Inheritance
RectF
Attributes

Constructors

RectF(PointF, SizeF)
RectF(Single, Single, Single, Single)

Fields

Zero

Properties

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

Methods

Contains(PointF)
Contains(RectF)
Contains(Single, Single)
Deconstruct(Single, Single, Single, Single)
Equals(Object)
Equals(RectF)
FromLTRB(Single, Single, Single, Single)
GetHashCode()
Inflate(Single, Single)
Inflate(SizeF)
Intersect(RectF, RectF)
Intersect(RectF)
IntersectsWith(RectF)
Offset(PointF)
Offset(Single, Single)
Round()
ToString()
TryParse(String, RectF)
Union(RectF, RectF)
Union(RectF)

Operators

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

Extension Methods

Lerp(RectF, RectF, Double)
AsSKRect(RectF)

Applies to