Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jingwood authored Jan 29, 2021
1 parent b4ca8f1 commit 9785e45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ For different build configuration and platform target, the `d2dlib32.dll` is nam
protected override void OnRender(D2DGraphics g)
{
var rect = new D2DRect(0, 0, 10, 10);
g.DrawEllipse(rect, D2DColor.Red);
g.DrawRectangle(rect, D2DColor.Red);
}
```

## Draw an ellipse
## Draw ellipse

```csharp
var ellipse = new D2DEllipse(0, 0, 10, 10);
Expand Down

0 comments on commit 9785e45

Please sign in to comment.