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.19041, net10.0-windows10.0.17763, 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 FromNative | |
| static ToNative |
Inherited members
Extension blocks¶
extension(Rect value)¶
FromNative
extension(RectF value)¶
FromNative
extension(Rectangle value)¶
ToNative
extension(RectangleF value)¶
ToNative