Pilz.UI: convert to C#

This commit is contained in:
2024-06-10 12:29:56 +02:00
parent b9be604f0d
commit 5c6f0c8bfc
32 changed files with 3950 additions and 166 deletions

View File

@@ -0,0 +1,18 @@
using System.Drawing;
using System.Drawing.Drawing2D;
namespace Pilz.UI;
public class ArrowLineCapProps : LineCapProps
{
public Size Size { get; set; } = new Size(10, 10);
public bool IsFilles { get; set; } = true;
internal override LineCapConfigurationArgs Configure()
{
var cap = new AdjustableArrowCap(Size.Width, Size.Height, IsFilles);
return new LineCapConfigurationArgs(cap);
}
}