DrawRoundedBox
类别 向量图形、页面布局
描述
在所选页面上绘制圆角矩形
语法
Delphi
Function TPDFlib.DrawRoundedBox(Left, Top, Width, Height, Radius: Double; DrawOptions: Integer): Integer;
ActiveX
Function PDFlib::DrawRoundedBox(Left As Double, Top As Double, Width As Double, Height As Double, Radius As Double, DrawOptions As Long) As Long
DLL
int DLDrawRoundedBox(int InstanceID, double Left, double Top, double Width, double Height, double Radius, int DrawOptions);
参数
| Left | 矩形左边缘的水平坐标 矩形上边缘的垂直坐标 |
|---|---|
| Top | 矩形宽度 |
| Width | |
| Height | 矩形高度 |
| Radius | 圆角弧的半径 |
| DrawOptions | 0 = 描边 1 = 填充 2 = 填充和描边 |