DrawRectangle Method

Summary

Draws the outline of a rectangle that has the specified dimensions and D2DPen.

Syntax
C#
VB
C++
public void DrawRectangle( 
   D2DPen pen, 
   Rect rect 
) 
  
Public Sub DrawRectangle( _ 
   ByVal pen As D2DPen, _ 
   ByVal rect As Rect _ 
)  
public: 
void DrawRectangle(  
   D2DPen^ pen, 
   Rect rect 
)  

Parameters

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

rect
The dimensions of the rectangle to draw.

Remarks

This method draws the outline of a rectangle using the specified Pen style.

Requirements

Target Platforms

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

Leadtools.Windows.D2DRendering Assembly