SizeExtensions class¶
Defined in
Namespace: Splat
Assembly: Splat.Drawing.dll
Full name: Splat.SizeExtensions
Modifiers: public static
Summary¶
Provides extension methods for converting between Size, SizeF, and the Android native Size structure.
Applies to
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 simplify interoperability between .NET drawing types and Android's native size representation. Use these extensions to convert size values when working across different graphics APIs.
Methods¶
| Name | Summary |
|---|---|
| static ToNative | |
| static FromNative |
Inherited members
Extension blocks¶
extension(Size value)¶
ToNative
extension(SizeF value)¶
ToNative
extension(Size value)¶
FromNative