DrawEllipse

矢量图形

描述

绘制以某一点为中心且适合指定尺寸框的椭圆

语法

Delphi

Function TPDFlib.DrawEllipse(XPos, YPos, Width, Height: Double; DrawOptions: Integer): Integer;

ActiveX

Function PDFlib::DrawEllipse(XPos As Double, YPos As Double, Width As Double, Height As Double, DrawOptions As Long) As Long

DLL

int DLDrawEllipse(int InstanceID, double XPos, double YPos, double Width, double Height, int DrawOptions);

参数

XPos椭圆中心的水平坐标 椭圆中心的垂直坐标
YPos椭圆的宽度
Width
Height椭圆的高度
DrawOptions0 = 轮廓 1 = 填充 2 = 填充和轮廓