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 | Rectangle width |
| Width | |
| Height | Rectangle height |
| Radius | 圓角弧的半徑 |
| DrawOptions | 0 = 外框 1 = 填色 2 = 填色加外框 |