Namespace Avalonia.Platform
Classes
- AssetLoader
Loads assets compiled into the application binary.
- DefaultPlatformSettings
A default implementation of IPlatformSettings for platforms.
- KnownPlatformGraphicsExternalImageHandleTypes
Describes various GPU memory handle types that are currently supported by Avalonia graphics backends
- KnownPlatformGraphicsExternalSemaphoreHandleTypes
Describes various GPU semaphore handle types that are currently supported by Avalonia graphics backends
- PlatformColorValues
Information about current system color values, including information about dark mode and accent colors.
- PlatformHandle
Represents a platform-specific handle.
- Screen
Represents a single display screen.
- StandardAssetLoader
Loads assets compiled into the application binary.
Structs
- LtrbPixelRect
This struct is essentially the same thing as RECT from win32 API Unlike our "normal" PixelRect which is more human-readable and human-usable this struct is optimized for actual processing that doesn't really care about Width and Height but pretty much always only cares about Right and Bottom edge coordinates
Not having to constantly convert between Width/Height and Right/Bottom for no actual reason saves us some perf
This structure is intended to be mostly internal, but it's exposed as a PrivateApi type so it can be passed to the drawing backend when needed
- LtrbRect
This struct is essentially the same thing as MilRectD Unlike our "normal" Rect which is more human-readable and human-usable this struct is optimized for actual processing that doesn't really care about Width and Height but pretty much always only cares about Right and Bottom edge coordinates
Not having to constantly convert between Width/Height and Right/Bottom for no actual reason saves us some perf
This structure is intended to be mostly internal, but it's exposed as a PrivateApi type so it can be passed to the drawing backend when needed
Interfaces
- IAssetLoader
Loads assets compiled into the application binary.
- IBitmapImpl
Defines the platform-specific interface for a Bitmap.
- ICursorImpl
Represents a platform implementation of a Cursor.
- IDrawingContextImpl
Defines the interface through which drawing occurs.
- IGeometryContext
Describes a geometry using drawing commands.
- IGeometryImpl
Defines the platform-specific interface for a Geometry.
- IGlyphRunImpl
An immutable platform representation of a GlyphRun.
- IPlatformBehaviorInhibition
Allows to inhibit platform specific behavior.
- IPlatformHandle
Represents a platform-specific handle.
- IPlatformRenderInterface
Defines the main platform-specific interface for the rendering subsystem.
- IPlatformSettings
The IPlatformSettings interface represents a contract for accessing platform-specific settings and information. Some of these settings might be changed by used globally in the OS in runtime.
- IPlatformThreadingInterface
Provides platform-specific services relating to threading.
- IPopupImpl
Defines a platform-specific popup window implementation.
- IRenderTarget
Defines a render target
- IRenderTargetBitmapImpl
Defines the platform-specific interface for a RenderTargetBitmap.
- IStreamGeometryContextImpl
Describes a geometry using drawing commands.
- IStreamGeometryImpl
Defines the platform-specific interface for a StreamGeometry.
- ITextShaperImpl
An abstraction that is used produce shaped text.
- ITopLevelImpl
Defines a platform-specific top-level window implementation.
- ITransformedGeometryImpl
Represents a geometry with a transform applied.
- IWindowImpl
Defines a platform-specific window implementation.
- IWriteableBitmapImpl
Defines the platform-specific interface for a WriteableBitmap.
Enums
- AlphaFormat
Describes how to interpret the alpha component of a pixel.
- ColorContrastPreference
System high contrast preference.
- ExtendClientAreaChromeHints
Hint for Window Chrome when ClientArea is Extended.
- PlatformThemeVariant
System theme variant or mode.
- ScreenOrientation
Describes the orientation of a screen.