4 instantiations of Line
Microsoft.Maui.Controls (4)
Shapes\StrokeShapeTypeConverter.cs (4)
44
return new
Line
();
50
return new
Line
();
55
return new
Line
{ X1 = p1.X, Y1 = p1.Y };
59
return new
Line
{ X1 = p1.X, Y1 = p1.Y, X2 = p2.X, Y2 = p2.Y };
15 references to Line
Microsoft.Maui.Controls (15)
Handlers\Shapes\Line\LineHandler.cs (6)
8
public static new IPropertyMapper<
Line
, IShapeViewHandler> Mapper = new PropertyMapper<
Line
, IShapeViewHandler>(ShapeViewHandler.Mapper)
10
[nameof(
Line
.X1)] = MapX1,
11
[nameof(
Line
.Y1)] = MapY1,
12
[nameof(
Line
.X2)] = MapX2,
13
[nameof(
Line
.Y2)] = MapY2,
Handlers\Shapes\Line\LineHandler.Standard.cs (4)
9
public static void MapX1(IShapeViewHandler handler,
Line
line) { }
10
public static void MapY1(IShapeViewHandler handler,
Line
line) { }
11
public static void MapX2(IShapeViewHandler handler,
Line
line) { }
12
public static void MapY2(IShapeViewHandler handler,
Line
line) { }
Hosting\AppHostBuilderExtensions.cs (1)
97
handlersCollection.AddHandler<Shapes.
Line
, LineHandler>();
Shapes\Line.cs (4)
25
BindableProperty.Create(nameof(X1), typeof(double), typeof(
Line
), 0.0d);
29
BindableProperty.Create(nameof(Y1), typeof(double), typeof(
Line
), 0.0d);
33
BindableProperty.Create(nameof(X2), typeof(double), typeof(
Line
), 0.0d);
37
BindableProperty.Create(nameof(Y2), typeof(double), typeof(
Line
), 0.0d);