Draws a rotated rectangle specified by a RectangleF structure.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public void DrawRectangle(
	RectangleF rect,
	float angle
)
VB
Public Sub DrawRectangle ( 
	rect As RectangleF,
	angle As Single
)

Parameters

rect
Type: System.Drawing.RectangleF
A RectangleF structure that represents the rectangle to draw.
angle
Type: System.Single
The angle of rotation in degrees.

Remarks

Rectangle gets rotated in a counter-clockwise direction.

This methods draws a non-filled rectangle.

Please use AppendRectangle Overload if you want to append a rectangle to the current path.

See Also