RectF 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 rectangle with single-precision floating-point x, y coordinates and width and height.
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 |
Represents a RectF with all values set to 0. |
Properties
| Bottom | |
| Center | |
| Height |
Gets or sets the height of the rectangle. |
| IsEmpty | |
| Left | |
| Location | |
| Right | |
| Size | |
| Top | |
| Width |
Gets or sets the width of the rectangle. |
| X |
Gets or sets the x-coordinate of the rectangle's left edge. |
| Y |
Gets or sets the y-coordinate of the rectangle's top edge. |
Methods
Operators
| Equality(RectF, RectF) | |
| Implicit(RectF to Rect) | |
| Inequality(RectF, RectF) |
Extension Methods
| Lerp(RectF, RectF, Double) | |
| AsSKRect(RectF) |
Converts a RectF to a SkiaSharp SKRect. |