DrawRoundedBox

矢量图形, 页面布局

说明

本页介绍 PDFlibPas 中属于“矢量图形, 页面布局”主题的 DrawRoundedBox。API 名称、参数、类名、文件名和字面量保持原样,以便和 Delphi 库及 DLL 入口点完全对应。

调用函数前请查看语法、参数和返回值。代码块保留原始形式,便于示例直接复制使用。

语法

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);

参数

LeftLeft 定义当前页面单位下的坐标、尺寸或度量值。
TopTop 定义当前页面单位下的坐标、尺寸或度量值。
WidthWidth 定义当前页面单位下的坐标、尺寸或度量值。
HeightHeight 定义当前页面单位下的坐标、尺寸或度量值。
RadiusRadius 定义当前页面单位下的坐标、尺寸或度量值。
DrawOptionsDrawOptions 是用于调整调用行为的位掩码或数值选项。