Skip to content

ColorExtensions class

Defined in

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

Summary

View source

Provides extension methods for converting between System.Drawing.Color and native Android color representations.

Applies to

net10.0-android36.0, 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 enable seamless interoperability between .NET color types and Android's native color structures when developing cross-platform applications. All methods are static and intended for use as extension methods.

Methods

NameSummary
static ToNative
static FromNative
Inherited members

Extension blocks

extension(Color other)

  • ToNative

extension(Color other)

  • FromNative