File: PointCollection.cs
Web Access
Project: src\src\Controls\src\Core\Controls.Core.csproj (Microsoft.Maui.Controls)
#nullable disable
using System.Collections.ObjectModel;
using System.ComponentModel;
using Microsoft.Maui.Graphics;
 
namespace Microsoft.Maui.Controls
{
	[System.ComponentModel.TypeConverter(typeof(Shapes.PointCollectionConverter))]
	public sealed class PointCollection : ObservableCollection<Point>
	{
		public PointCollection() : base()
		{
		}
 
		public PointCollection(Point[] p)
			: base(p)
		{
		}
 
		public static implicit operator PointCollection(Point[] d)
			=> d == null ? new() : new(d);
	}
}