mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-02 18:26:27 +13:00
Show border color, border size, fill color options for text drawing
This commit is contained in:
parent
50a715daba
commit
c6aa3c2ce1
2 changed files with 5 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue