←Select platform

DrawEllipse(D2DPen,float,float,float,float) Method

Summary

Draws the outline of an ellipse having the specified dimensions with the specified D2DPen.

Syntax
C#
VB
C++
public void DrawEllipse( 
   D2DPen pen, 
   float x, 
   float y, 
   float width, 
   float height 
) 
Public Sub DrawEllipse( 
   ByVal pen As D2DPen, 
   ByVal x As Single, 
   ByVal y As Single, 
   ByVal width As Single, 
   ByVal height As Single 
) 
public:  
   void DrawEllipse( 
      D2DPen^ pen, 
      Single x, 
      Single y, 
      Single width, 
      Single height 
   ) 

Parameters

pen

D2DPen that determines the pen brush, thickness, and style.

x

The x-coordinate of the upper-left corner of the ellipse to draw.

y

The y-coordinate of the upper-left corner of the ellipse to draw.

width

Width of the ellipse to draw.

height

Height of the ellipse to draw.

Remarks

This method draws an ellipse that is defined by the bounding rectangle specified by the x, y, width, and height parameters.

Requirements

Target Platforms

Help Version 22.0.2021.8.20
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Windows.D2DRendering Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.