Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wieslawsoltes/classictoolkit.maui

An Canvas control for MAUI.
https://github.com/wieslawsoltes/classictoolkit.maui

canvas control maui xaml

Last synced: about 1 month ago
JSON representation

An Canvas control for MAUI.

Awesome Lists containing this project

README

        

# Canvas MAUI Control

[![NuGet](https://img.shields.io/nuget/v/Canvas.Maui.svg)](https://www.nuget.org/packages/Canvas.Maui)
[![NuGet](https://img.shields.io/nuget/dt/Canvas.Maui.svg)](https://www.nuget.org/packages/Canvas.Maui)

An Canvas control for MAUI.

![image](https://github.com/user-attachments/assets/a44c4780-068b-49c4-8954-46341446f067)

## Usage

Add `UseCanvas()` to tour app builder.

```C#
public static MauiApp CreateMauiApp()
{
var builder = MauiApp.CreateBuilder();
builder
.UseMauiApp()
.UseCanvas()
.ConfigureFonts(fonts =>
{
fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold");
});
#if DEBUG
builder.Logging.AddDebug();
#endif
return builder.Build();
}
```

Add `Canvas` control to your views.

```xaml






```

## License

Canvas.Maui is licensed under the [MIT license](LICENSE.TXT).