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圆角弧的半径
DrawOptions0 = 描边 1 = 填充 2 = 填充和描边