SizeExtensions class¶
Defined in
Namespace: Splat
Assembly: Splat.Drawing.dll
Full name: Splat.SizeExtensions
Modifiers: public static
Summary¶
View source (opens in a new tab)
Provides extension methods for converting between Size (opens in a new tab), SizeF (opens in a new tab), and the Android native Size (opens in a new tab) structure.
Applies to
net11.0-windows10.0.19041, net10.0-windows10.0.17763, net10.0-windows10.0.19041, net47, net471, net472, net48, 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 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(Size (opens in a new tab) value)¶
FromNative
extension(Size (opens in a new tab) value)¶
ToNative
extension(SizeF (opens in a new tab) value)¶
ToNative