Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stormlion227/shapecontrol.forms
Xamarin.Forms plugin to draw shapes such as circle, rounded rectangle, oval and so on.
https://github.com/stormlion227/shapecontrol.forms
android border border-color border-radius circle controls corner-radius draw-shapes effects gradient ios nuget oval rounded-rectangles roundrect shape skiasharp uwp xamarin-forms
Last synced: about 1 month ago
JSON representation
Xamarin.Forms plugin to draw shapes such as circle, rounded rectangle, oval and so on.
- Host: GitHub
- URL: https://github.com/stormlion227/shapecontrol.forms
- Owner: stormlion227
- License: mit
- Created: 2018-01-12T19:23:57.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-15T03:38:35.000Z (over 6 years ago)
- Last Synced: 2024-10-06T10:12:28.372Z (about 2 months ago)
- Topics: android, border, border-color, border-radius, circle, controls, corner-radius, draw-shapes, effects, gradient, ios, nuget, oval, rounded-rectangles, roundrect, shape, skiasharp, uwp, xamarin-forms
- Language: C#
- Homepage:
- Size: 3.38 MB
- Stars: 11
- Watchers: 1
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# ShapeControl.Forms
Xamarin.Forms plugin to draw shapes such as circle, rounded rectangle, oval and so on.
Supports Android, iOS and Unified Windows Platform (UWP, UAP).
[![NuGet](https://img.shields.io/nuget/v/ShapeControl.Forms.svg)](https://www.nuget.org/packages/ShapeControl.Forms/)
## Features
* Circle
* Oval
* RoundedRect
* Borderless Entry (SSEntry)
* Borderless Editor (SSEditor)
* Borderless Picker (SSPicker)
* Borderless DatePicker (SSDatePicker)
* Effects by using [SkiaSharp library](https://www.nuget.org/packages/SkiaSharp.Views.Forms).## Support Platforms
* iOS 8+
* Android
* Universal Windows Platform (Win10/UWP)## Setup
Install the [nuget package](https://www.nuget.org/packages/ShapeControl.Forms/) in portable and all platform specific projects..#### Android
In MainActivity.cs file
```cs
Stormlion.ShapeControl.Droid.Platform.Init(this);
```#### iOS
In AppDelegate.cs file
```cs
Stormlion.ShapeControl.iOS.Platform.Init();
```#### UWP
In App.xaml.cs file
```cs
List assebliesToInclude = new List();assebliesToInclude.Add(typeof(Stormlion.ShapeControl.UWP.Platform).GetTypeInfo().Assembly);
Xamarin.Forms.Forms.Init(e, assebliesToInclude);
```
## Usage### Circle Example
```xaml
```### Oval with Blue Solid Color
```xaml
```### RoundRect with Gridient Color
```xaml
0
0
255
0
0
1
Clamp
```### Borderless Entry
```xaml
```## Contributions
Contributions are welcome!