RectExtensions class¶
Defined in
Namespace: Splat
Assembly: Splat.Drawing.dll
Full name: Splat.RectExtensions
Modifiers: public static
Summary¶
Provides extension methods for converting between Rectangle types and Android native rectangle types.
Applies to
net10.0-android36.0, net10.0-windows10.0.17763, net10.0-windows10.0.19041, net9.0-windows10.0.17763, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net8.0-windows10.0.17763, net462, net481
Remarks¶
These methods enable seamless interoperability between .NET drawing rectangles and Android's native Rect and RectF structures. All methods are static and intended to be used as extension methods for convenient syntax when working with rectangle conversions in cross-platform scenarios.
Methods¶
| Name | Summary |
|---|---|
| static ToNative | |
| static FromNative |
Inherited members
Extension blocks¶
extension(Rectangle value)¶
ToNative
extension(RectangleF value)¶
ToNative
extension(Rect value)¶
FromNative
extension(RectF value)¶
FromNative