Skip to content

PointExtensions class

Defined in

Namespace: Splat Assembly: Splat.Drawing.dll Full name: Splat.PointExtensions Modifiers: public static

Summary

View source

Provides extension methods for converting between System.Drawing point types and Android native point 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 conversion between System.Drawing.Point and System.Drawing.PointF types and their Android equivalents (Point and PointF). This is useful when interoperating between .NET drawing APIs and Android graphics APIs in cross-platform applications.

Methods

NameSummary
static FromNative
static ToNative
Inherited members

Extension blocks

extension(Point value)

  • FromNative

extension(PointF value)

  • FromNative

extension(Point value)

  • ToNative

extension(PointF value)

  • ToNative