Skip to content

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

NameSummary
static FromNative
static ToNative
Inherited members

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