Skip to content

Commit 0f53565

Browse files
Merge pull request #4862 from syncfusion-content/EJ2-910313-update-ug
910313: Image Editor UG Improvements
2 parents 46fdc05 + eadf01c commit 0f53565

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

blazor/image-editor/annotation.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,12 @@ In the following example, you can using the DrawTextAsync method in the button c
8383
private async void DrawTextOutlineAsync()
8484
{
8585
ImageDimension Dimension = await ImageEditor.GetImageDimensionAsync();
86-
await ImageEditor.DrawTextAsync(Dimension.X.Value + 100, Dimension.Y.Value + 100, 'Syncfusion', 'Arial', 70, false, false, '', false, null, '', 'green', 8);
86+
await ImageEditor.DrawTextAsync(Dimension.X.Value + 200, Dimension.Y.Value + 200, 'Syncfusion', 'Arial', 70, false, false, '', false, null, '', 'green', 8);
8787
}
8888
private async void DrawTextBackgroundColorAsync()
8989
{
9090
ImageDimension Dimension = await ImageEditor.GetImageDimensionAsync();
91-
await ImageEditor.DrawTextAsync(Dimension.X.Value + 100, Dimension.Y.Value + 100, 'Syncfusion', 'Arial', 70, false, false, '', false, null, 'red', '', null);
91+
await ImageEditor.DrawTextAsync(Dimension.X.Value + 300, Dimension.Y.Value + 300, 'Syncfusion', 'Arial', 70, false, false, '', false, null, 'red', '', null);
9292
}
9393
}
9494
```
@@ -523,7 +523,8 @@ Here is an example of inserting rectangle, ellipse, arrow, path, and line in a b
523523
524524
private async void RectangleAsync()
525525
{
526-
await ImageEditor.DrawRectangleAsync(250, 50, 120, 120, 4, "#fff", "blue", null, null, 8);
526+
await ImageEditor.DrawRectangleAsync(250, 50, 120, 120, 4, "#fff", "blue");
527+
await ImageEditor.DrawRectangleAsync(450, 200, 120, 120, 4, "#fff", "blue", null, null, 8);
527528
}
528529
529530
private async void EllipseAsync()

0 commit comments

Comments
 (0)