I would like to add other shapes like heart, star, triangle, so I add a Custowview with Xamarin.Path like the example below. However, I can rotate, move but not resize. The path has a fixed length.
Any suggestions on how to add other shapes?
Xamarin.Forms.Shapes.Path path = new Xamarin.Forms.Shapes.Path();
Geometry pathData = (Geometry)new PathGeometryConverter().ConvertFromInvariantString("M462.3 62.6C407.5 15.9 326 24.3 275.7 76.2L256 96.5l-19.7-20.3C186.1 24.3 104.5 15.9 49.7 62.6c-62.8 53.6-66.1 149.8-9.9 207.9l193.5 199.8c12.5 12.9 32.8 12.9 45.3 0l193.5-199.8c56.3-58.1 53-154.3-9.8-207.9z");
path.Data = pathData;
path.Fill = Brush.Red;
path.Stroke = Brush.Black;
path.Aspect = Stretch.Fill;
path.HeightRequest = 100;
path.WidthRequest = 100;
CustomViewSettings vs = new CustomViewSettings() { Bounds = new Xamarin.Forms.Rectangle(0, 0, 25, 25), CanMaintainAspectRatio = false };
editor.AddCustomView(path, vs);
