Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/wieslawsoltes/classictoolkit.maui
- Owner: wieslawsoltes
- License: mit
- Created: 2024-11-15T10:59:59.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-24T21:38:05.000Z (about 1 month ago)
- Last Synced: 2024-11-24T22:26:02.598Z (about 1 month ago)
- Topics: canvas, control, maui, xaml
- Language: C#
- Homepage:
- Size: 226 KB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.TXT
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).