DrawRotatedBox
向量圖形、頁面操作
描述
在所選頁面上畫旋轉的矩形
語法
Delphi
Function TPDFlib.DrawRotatedBox(Left, Bottom, Width, Height, Angle: Double; DrawOptions: Integer): Integer;
ActiveX
Function PDFlib::DrawRotatedBox(Left As Double, Bottom As Double, Width As Double, Height As Double, Angle As Double, DrawOptions As Long) As Long
DLL
int DLDrawRotatedBox(int InstanceID, double Left, double Bottom, double Width, double Height, double Angle, int DrawOptions);
參數
| Left | 錨點的水平座標 |
|---|---|
| Bottom | 錨點的垂直座標 |
| Width | 矩形的寬度 |
| Height | 矩形的高度 |
| Angle | 旋轉矩形的角度,自基準線起以度為單位、逆時針量測,繞著錨點(矩形左下角) |
| DrawOptions | 0 = 外框 1 = 填色 2 = 填色加外框 |