Show border color, border size, fill color options for text drawing

This commit is contained in:
Jaex 2016-05-21 00:13:00 +03:00
parent 50a715daba
commit c6aa3c2ce1
2 changed files with 5 additions and 2 deletions

View file

@ -596,6 +596,7 @@ private void CreateContextMenu()
case ShapeType.DrawingEllipse:
case ShapeType.DrawingLine:
case ShapeType.DrawingArrow:
case ShapeType.DrawingText:
case ShapeType.DrawingBlur:
case ShapeType.DrawingPixelate:
case ShapeType.DrawingHighlight:
@ -614,6 +615,7 @@ private void CreateContextMenu()
case ShapeType.DrawingEllipse:
case ShapeType.DrawingLine:
case ShapeType.DrawingArrow:
case ShapeType.DrawingText:
tsmiBorderColor.Visible = true;
tslnudBorderSize.Visible = true;
break;
@ -627,6 +629,7 @@ private void CreateContextMenu()
case ShapeType.DrawingRectangle:
case ShapeType.DrawingRoundedRectangle:
case ShapeType.DrawingEllipse:
case ShapeType.DrawingText:
tsmiFillColor.Visible = true;
break;
}

View file

@ -39,8 +39,8 @@ public class TextDrawingOptions
public bool Bold { get; set; } = false;
public bool Italic { get; set; } = false;
public bool Underline { get; set; } = false;
public StringAlignment AlignmentHorizontal { get; set; } = StringAlignment.Near;
public StringAlignment AlignmentVertical { get; set; } = StringAlignment.Near;
public StringAlignment AlignmentHorizontal { get; set; } = StringAlignment.Center;
public StringAlignment AlignmentVertical { get; set; } = StringAlignment.Center;
public FontStyle Style
{