Pilz.UI: convert to C#
This commit is contained in:
18
Pilz.UI/PaintingControl/ArrowLineCapProps.cs
Normal file
18
Pilz.UI/PaintingControl/ArrowLineCapProps.cs
Normal 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);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user