DrawRoundedRotatedBox

Vector graphics, Page layout

Description

Draw a rotated rectangle with rounded corners on the selected page.

Syntax

Delphi

function TPDFlib.DrawRoundedRotatedBox(Left, Bottom, Width, Height, Radius, Angle: Double; DrawOptions: Integer): Integer;

ActiveX

Function PDFlib::DrawRoundedRotatedBox(Left As Double, Bottom As Double, Width As Double, Height As Double, Radius As Double, Angle As Double, DrawOptions As Long) As Long

DLL

int DLDrawRoundedRotatedBox(int InstanceID, double Left, double Bottom, double Width, double Height, double Radius, double Angle, int DrawOptions);

Parameters

LeftHorizontal co-ordinate of left edge of rectangle
BottomVertical co-ordinate of bottom edge of rectangle
WidthRectangle width
HeightRectangle height
RadiusRadius of the corner arcs
AngleThe angle the box should be rotated around the bottom-left corner, measured anti-clockwise in degrees
DrawOptions0 = Outline 1 = Fill 2 = Fill and outline int DrawOptions);