Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/felipebaltazar/SkiaSharp.Forms.Xaml

Xaml extensions for SkiaSharp
https://github.com/felipebaltazar/SkiaSharp.Forms.Xaml

hacktoberfest hacktoberfest2020 skia skiasharp xamarin xamarin-android xamarin-forms xamarin-ios xamarin-library xamarin-plugin xamarinforms xaml xaml-extensions xaml-layout

Last synced: 3 months ago
JSON representation

Xaml extensions for SkiaSharp

Awesome Lists containing this project

README

        

# SkiaSharp.Forms.Xaml
Xaml extensions for SkiaSharp

![Build and publish packages](https://github.com/felipebaltazar/SkiaSharp.Forms.Xaml/workflows/Build%20and%20publish%20packages/badge.svg?branch=master)

## Examples

![example](https://user-images.githubusercontent.com/19656249/80853300-19dfa100-8c06-11ea-9b58-e6948367f0e5.gif)

## Getting started

- Install the SkiaSharp.Forms.Xaml package

```
Install-PackageSkiaSharp.Forms.Xaml -Version 1.1.0-pre
```

- Add SkiaSharp and xaml extensions namespace to your Xaml page/view

```xaml
xmlns:skia="clr-namespace:SkiaSharp.Views.Forms;assembly=SkiaSharp.Views.Forms"
xmlns:skiaXaml="clr-namespace:SkiaSharp.Forms.Xaml;assembly=SkiaSharp.Forms.Xaml"
```

- Insert your SKCanvasView

```xml


```
- Create a renderer

```xml





```

- Insert your draws

```xml








```

## Draw Support

| Draw | Xaml Support |
| --------------- | ------------ |
| `Rectangle` | ✅ |
| `Circle` | ✅ |
| `Text` | ✅ |
| `Path` | ✅ |