mirror of
https://gitee.com/csharpui/CPF.git
synced 2025-06-28 13:34:09 +08:00
29 lines
736 B
C#
29 lines
736 B
C#
![]() |
// 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 Rectangle : Element<CPF.Shapes.Rectangle>
|
|||
|
{
|
|||
|
|
|||
|
[Parameter] public string Fill { get; set; }
|
|||
|
/// <summary>
|
|||
|
/// 事件响应范围是路径的线条上还是路径围成的范围内,true就是在线条上
|
|||
|
/// <summary>
|
|||
|
[Parameter] public bool? IsHitTestOnPath { get; set; }
|
|||
|
[Parameter] public string StrokeFill { get; set; }
|
|||
|
[Parameter] public Stroke? StrokeStyle { get; set; }
|
|||
|
|
|||
|
}
|
|||
|
}
|