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 | 橢圓的高度 |
| DrawOptions | 0 = 外框 1 = 填色 2 = 填色加外框 |
傳回值
橢圓繪製成功後傳回 1。