File: Handlers\Shapes\Line\LineHandler.cs
Web Access
Project: src\src\Controls\src\Core\Controls.Core.csproj (Microsoft.Maui.Controls)
#nullable disable
using Microsoft.Maui.Controls.Shapes;
 
namespace Microsoft.Maui.Controls.Handlers
{
	public partial class LineHandler : ShapeViewHandler
	{
		public static new IPropertyMapper<Line, IShapeViewHandler> Mapper = new PropertyMapper<Line, IShapeViewHandler>(ShapeViewHandler.Mapper)
		{
			[nameof(Line.X1)] = MapX1,
			[nameof(Line.Y1)] = MapY1,
			[nameof(Line.X2)] = MapX2,
			[nameof(Line.Y2)] = MapY2,
		};
 
		public LineHandler() : base(Mapper)
		{
 
		}
 
		public LineHandler(IPropertyMapper mapper) : base(mapper ?? Mapper)
		{
 
		}
	}
}