https://github.com/memsranga/Xamarin.Forms.PolygonFrame
https://github.com/memsranga/Xamarin.Forms.PolygonFrame
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/memsranga/Xamarin.Forms.PolygonFrame
- Owner: memsranga
- License: mit
- Archived: true
- Created: 2019-07-24T23:20:24.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-12T19:07:21.000Z (almost 6 years ago)
- Last Synced: 2025-04-08T05:27:41.461Z (2 months ago)
- Language: C#
- Size: 1.08 MB
- Stars: 10
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-xamarin-forms - Xamarin.Forms.PolygonFrame ★11
README
# Not maintained
As the features in the repo have been merged in to the awesome [PancakeView](https://github.com/sthewissen/Xamarin.Forms.PancakeView), it will no longer be maintained. All the future development will be done directly on PancakeView# Xamarin.Forms.PolygonFrame
Regular Polygonal Frame for Xamarin Forms with rounded corners and shadows
## How to use it?
The project is up on NuGet at the following URL:
https://www.nuget.org/packages/Xamarin.Forms.PolygonFrame
Adds the nuget to all the projects and just use!
```xaml
...
...```
### What can I do with it?
| Property | What it does | Extra info |
| ------ | ------ | ------ |
| `CornerRadius` | A `float` representing the edge radius | Polygon side length will be calculated based on the radius |
| `HasShadow` | Whether or not to draw a shadow beneath the control. | Works perfectly for iOS. On Android, works only when corner radius is not set |
| `Sides` | A `int` representing number of sides of the polygon | Default is `6` |
| `OffsetAngle` | A `float` representing starting angle of the polygon | In `degrees` |## Sample
Android | iOS
:-------------------------:|:-------------------------:|
## License
This project is shamelessly copied from Steven Thewissen [PancakeView](https://github.com/sthewissen/Xamarin.Forms.PancakeView) :)