mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-03 00:00:57 +08:00
颜色,字体,支持redo undo
This commit is contained in:
@@ -88,9 +88,12 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
{
|
||||
RaisePropertyChanged(nameof(FillColor));
|
||||
}
|
||||
|
||||
RaisePropertyChanged(sender, e);
|
||||
}
|
||||
|
||||
private Color _shadowColor = Colors.Transparent;
|
||||
[CanDo]
|
||||
public Color ShadowColor
|
||||
{
|
||||
get
|
||||
@@ -107,6 +110,7 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
}
|
||||
|
||||
private double _lineWidth = 1d;
|
||||
[CanDo]
|
||||
public double LineWidth
|
||||
{
|
||||
get
|
||||
@@ -123,6 +127,7 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
}
|
||||
|
||||
private LineDashStyle _lineDashStyle = LineDashStyle.None;
|
||||
[CanDo]
|
||||
public LineDashStyle LineDashStyle
|
||||
{
|
||||
get
|
||||
@@ -139,6 +144,7 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
}
|
||||
|
||||
private LineAnimation _lineAnimation = LineAnimation.None;
|
||||
[CanDo]
|
||||
public LineAnimation LineAnimation
|
||||
{
|
||||
get
|
||||
@@ -152,6 +158,7 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
}
|
||||
|
||||
private double _lineAnimationDuration = 1;
|
||||
[CanDo]
|
||||
public double LineAnimationDuration
|
||||
{
|
||||
get
|
||||
@@ -214,6 +221,7 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
}
|
||||
|
||||
private BrushType _brushType = BrushType.SolidColorBrush;
|
||||
[CanDo]
|
||||
public BrushType BrushType
|
||||
{
|
||||
get
|
||||
@@ -230,6 +238,7 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
}
|
||||
|
||||
private Color _color = new Color();
|
||||
[CanDo]
|
||||
public Color Color
|
||||
{
|
||||
get
|
||||
@@ -279,6 +288,7 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
SetProperty(ref _selectedGradientStop, value);
|
||||
}
|
||||
}
|
||||
|
||||
private Point _startPoint;
|
||||
public Point StartPoint
|
||||
{
|
||||
@@ -306,6 +316,7 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
}
|
||||
|
||||
private double _opacity = 1;
|
||||
[CanDo]
|
||||
public double Opacity
|
||||
{
|
||||
get
|
||||
@@ -332,6 +343,7 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
}
|
||||
|
||||
private string _image;
|
||||
[CanDo]
|
||||
public string Image
|
||||
{
|
||||
get
|
||||
@@ -345,6 +357,7 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
}
|
||||
|
||||
private LinearOrientation _linearOrientation;
|
||||
[CanDo]
|
||||
public LinearOrientation LinearOrientation
|
||||
{
|
||||
get
|
||||
@@ -358,6 +371,7 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
}
|
||||
|
||||
private RadialOrientation _radialOrientation;
|
||||
[CanDo]
|
||||
public RadialOrientation RadialOrientation
|
||||
{
|
||||
get
|
||||
@@ -371,6 +385,7 @@ namespace AIStudio.Wpf.DiagramDesigner
|
||||
}
|
||||
|
||||
private int _angle;
|
||||
[CanDo]
|
||||
public int Angle
|
||||
{
|
||||
get
|
||||
|
||||
Reference in New Issue
Block a user