Skip to content

Commit 3e7937f

Browse files
925962- Update text settings image.
1 parent fe64805 commit 3e7937f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed
96.5 KB
Loading

wpf/Image-Editor/Text.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ this.editor.Loaded += this.OnImageEditorLoaded;
117117
private void OnImageEditorLoaded(object sender, RoutedEventArgs e)
118118
{
119119
TextSettings textSettings = new TextSettings();
120-
textSettings.Background = new SolidColorBrush(Colors.Yellow);
120+
textSettings.Background = new SolidColorBrush(Colors.PeachPuff);
121121
textSettings.FontFamily = new FontFamily("Century Schoolbook");
122122
textSettings.FontSize = 30;
123123
textSettings.Color = new SolidColorBrush(Colors.Red);
@@ -126,10 +126,10 @@ private void OnImageEditorLoaded(object sender, RoutedEventArgs e)
126126
this.editor.AddText("Good morning", textSettings);
127127

128128
textSettings = new TextSettings();
129-
textSettings.Background = new SolidColorBrush(Colors.Ivory);
129+
textSettings.Background = new SolidColorBrush(Colors.LightYellow);
130130
textSettings.FontFamily = new FontFamily("Bell MT");
131131
textSettings.FontSize = 22;
132-
textSettings.Color = new SolidColorBrush(Colors.DarkGreen);
132+
textSettings.Color = new SolidColorBrush(Colors.Teal);
133133
textSettings.TextEffects = TextEffects.Italic;
134134
textSettings.Bounds = new Rect(50, 23, 30, 15);
135135
textSettings.TextAlignment = TextAlignment.Center;
@@ -138,8 +138,8 @@ private void OnImageEditorLoaded(object sender, RoutedEventArgs e)
138138

139139
{% endhighlight %}
140140
{% endtabs %}
141-
142-
![Text](Images/Text.jpg)
141+
ss
142+
![Text-settings-in-WPF-Image-editor](Images/text-settings-in-wpf-image-editor.jpg)
143143

144144
## See also
145145

0 commit comments

Comments
 (0)