Skip to content

Splat namespace

Part of the Splat.Drawing package.

TypeKindSummary
BitmapLoaderclassProvides access to the current bitmap loader used for loading bitmap images within the application.
BitmapLoaderExceptionclassRepresents errors that occur during bitmap loading operations.
BitmapMixinsclassProvides extension methods for converting between platform-native bitmap types and the cross-platform IBitmap interface.
ColorExtensionsclassProvides extension methods for converting between System.Drawing.Color and native Android color representations.
CompressedBitmapFormatenumSpecifies the available formats for storing a compressed bitmap image.
DefaultPlatformModeDetectorclassProvides a default implementation for detecting whether the application is running in design mode across supported platforms.
IBitmapinterfaceDefines an interface for a bitmap image that supports retrieving its dimensions and saving the image in a compressed format. Every platform provides FromNative and ToNative methods to convert this object to the platform-specific versions.
IBitmapLoaderinterfaceDefines methods for loading and creating bitmap images from various sources. Unless you are testing image loading, you don't usually need to implement this.
IPlatformModeDetectorinterfaceProvides a mechanism for determining whether the current process is running within a graphical user interface (GUI) design environment.
KnownColorenumSpecifies a set of predefined colors that are recognized by name and can be used in color-related APIs. (ARGB format is 0xAARRGGBB).
PlatformBitmapLoaderclassProvides platform-specific functionality for loading bitmap images from streams or drawable resources, with support for AOT-friendly resource registration in MAUI applications.
PlatformBitmapLoaderclassAOT-compatible platform bitmap loader for Android. This version requires explicit drawable name-to-ID mapping and uses no reflection.
PlatformModeDetectorclassProvides methods to detect whether the application is running in design mode, such as within a GUI design editor. Allows overriding the platform mode detection logic for customization or testing purposes.
PointExtensionsclassProvides extension methods for converting between System.Drawing point types and Android native point types.
RectExtensionsclassProvides extension methods for converting between [Rectangle](# types and Android native rectangle types.
ServiceLocationDrawingInitializationExtensionsclassProvides methods for initializing platform-specific bitmap loader services for service location.
SizeExtensionsclassProvides extension methods for converting between [Size](# [SizeF](# and the Android native Size structure.
SplatColorstructRepresents an immutable color value, providing a set of predefined named colors and methods for color manipulation and comparison.
SplatColorExtensionsclassProvides extension methods for converting between [SplatColor](# and the Android native Color type.