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 = 填充和轮廓 |