Microsoft.Maui.Graphics Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides interfaces, classes and supporting types for .NET MAUI Graphics; the abstracted, unified drawing APIs that work cross-platform.
Classes
Structs
Font | |
FontSource | |
Point | |
PointF | |
Rect | |
RectF | |
Size | |
SizeF |
Interfaces
IBitmapExportService | |
IBlurrableCanvas | |
ICanvas |
Represents a platform-agnostic canvas on which 2D graphics can be drawn using types from the Microsoft.Maui.Graphics namespace. |
ICanvasStateService<TState> | |
IDrawable | |
IFont | |
IImage | |
IImageLoadingService | |
IPattern | |
IPdfPage | |
IPdfRenderService | |
IPicture | |
IPictureReader | |
IPictureWriter | |
IPlatformFonts | |
IShape |
Provides a base definition class for shape elements, such as Ellipse, Polygon, or Rectangle. |
IStringSizeService | |
ITextAttributes |
Enums
BlendMode | |
FontStyleType | |
HorizontalAlignment | |
ImageFormat | |
LineCap | |
LineJoin | |
PathOperation | |
PictureCommand | |
ResizeMode | |
TextFlow | |
VerticalAlignment | |
WindingMode |
Delegates
DrawingCommand | |
LayoutLine |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.