RectExtensions class¶
Defined in
Namespace: Splat
Assembly: Splat.Drawing.dll
Full name: Splat.RectExtensions
Modifiers: public static
Summary¶
View source (opens in a new tab)
Provides extension methods for converting between Rectangle (opens in a new tab) types and Android native rectangle types.
Applies to
net11.0-android37.0, net11.0-windows10.0.19041, net10.0-android36.0, net10.0-windows10.0.17763, net10.0-windows10.0.19041, net47, net472, net471, net48, 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
System.Object.Equals(System.Object)(opens in a new tab)System.Object.Equals(System.Object,System.Object)(opens in a new tab)System.Object.GetHashCode(opens in a new tab)System.Object.GetType(opens in a new tab)System.Object.MemberwiseClone(opens in a new tab)System.Object.ReferenceEquals(System.Object,System.Object)(opens in a new tab)System.Object.ToString(opens in a new tab)
Extension blocks¶
extension(Rect value)¶
FromNative
extension(RectF value)¶
FromNative
extension(Rectangle (opens in a new tab) value)¶
ToNative
extension(RectangleF (opens in a new tab) value)¶
ToNative