mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-14 13:36:38 +08:00
箭头位置,指向连接点的中心
This commit is contained in:
@@ -201,6 +201,22 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public double LeftArrowSize
|
||||
{
|
||||
get
|
||||
{
|
||||
return LeftArrowPathStyle == ArrowPathStyle.None ? 0d : (double)LeftArrowSizeStyle;
|
||||
}
|
||||
}
|
||||
|
||||
public double RightArrowSize
|
||||
{
|
||||
get
|
||||
{
|
||||
return RightArrowPathStyle == ArrowPathStyle.None ? 0d : (double)RightArrowSizeStyle;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -3,19 +3,55 @@ using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Text;
|
||||
using System.Windows.Media;
|
||||
using AIStudio.Wpf.DiagramDesigner.Geometrys;
|
||||
|
||||
namespace AIStudio.Wpf.DiagramDesigner
|
||||
{
|
||||
public interface IColorViewModel
|
||||
{
|
||||
IColorObject LineColor { get; set; }
|
||||
IColorObject FillColor { get; set; }
|
||||
Color ShadowColor { get; set; }
|
||||
double LineWidth { get; set; }
|
||||
ArrowPathStyle LeftArrowPathStyle { get; set; }
|
||||
ArrowPathStyle RightArrowPathStyle { get; set; }
|
||||
ArrowSizeStyle LeftArrowSizeStyle { get; set; }
|
||||
ArrowSizeStyle RightArrowSizeStyle { get; set; }
|
||||
IColorObject LineColor
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
IColorObject FillColor
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
Color ShadowColor
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
double LineWidth
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
ArrowPathStyle LeftArrowPathStyle
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
ArrowPathStyle RightArrowPathStyle
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
ArrowSizeStyle LeftArrowSizeStyle
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
ArrowSizeStyle RightArrowSizeStyle
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
|
||||
double LeftArrowSize
|
||||
{
|
||||
get;
|
||||
}
|
||||
|
||||
double RightArrowSize
|
||||
{
|
||||
get;
|
||||
}
|
||||
|
||||
event PropertyChangedEventHandler PropertyChanged;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user