Skip to content

An example of how to draw more complex shapes in Xamarin that works in both Android and iOS. Examples include a Circle, a Rectangle (that has more power than the standard BoxView) and a "Circle Indicator" (which shows a percentage

License

Notifications You must be signed in to change notification settings

cassionandi/Xamarin-Forms-Shape

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Summary

This sample shows how to draw more complex shapes in Xamarin.Forms that is not limited to a simple BoxView (and only a single colour). The new examples are Circle, Rectangle and a "Circle Indicator" (which is a fancy way of saying a two stroke width circle where the thicker bit shows the progress out of 100%). An improved "Box" type is also supported.

Properties supported by the various shapes:

  • Stroke Color
  • (Fill) Color
  • Stroke Width
  • Corner Radius (box only)
  • Padding

Screenshots

Android

![Image for Android] (https://raw.githubusercontent.com/chrispellett/Xamarin-Forms-Shape/master/Screenshots/Android.png)

iOS

![Image for iOS] (https://raw.githubusercontent.com/chrispellett/Xamarin-Forms-Shape/master/Screenshots/iOS.png)

Windows (not supported)

About

An example of how to draw more complex shapes in Xamarin that works in both Android and iOS. Examples include a Circle, a Rectangle (that has more power than the standard BoxView) and a "Circle Indicator" (which shows a percentage

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%