CPF/CPF.Razor/Controls/generated/Line.generated.cs

31 lines
869 B
C#
Raw Normal View History

2024-01-08 20:55:43 +08:00
// CPF自动生成.
using CPF;
using CPF.Controls;
using CPF.Drawing;
using CPF.Input;
using CPF.Razor;
using CPF.Shapes;
using Microsoft.AspNetCore.Components;
namespace CPF.Razor.Controls
{
/// <summary>
/// 在两个点之间绘制直线。
/// </summary>
public partial class Line : Element<CPF.Shapes.Line>
{
[Parameter] public Point? EndPoint { get; set; }
[Parameter] public string Fill { get; set; }
/// <summary>
/// 事件响应范围是路径的线条上还是路径围成的范围内true就是在线条上
/// <summary>
[Parameter] public bool? IsHitTestOnPath { get; set; }
[Parameter] public Point? StartPoint { get; set; }
[Parameter] public string StrokeFill { get; set; }
[Parameter] public Stroke? StrokeStyle { get; set; }
}
}