Appends a rotated rectangle specified by a PdfRectangle structure to the current path as a complete subpath.

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

Syntax

C#
public void AppendRectangle(
	PdfRectangle rect,
	double angle
)
VB
Public Sub AppendRectangle ( 
	rect As PdfRectangle,
	angle As Double
)

Parameters

rect
Type: BitMiracle.Docotic.Pdf.PdfRectangle
A PdfRectangle structure that represents the rectangle to append.
angle
Type: System.Double
The angle of rotation in degrees.

Remarks

Rectangle gets rotated in a counter-clockwise direction.

Note that the call to this method does not place any marks on the canvas; only the painting operators (StrokePath(), CloseAndStrokePath(), FillPath Overload, FillAndStrokePath Overload) do that.

Please use DrawRectangle Overload if you want to draw a rectangle immediately.

See Also