DrawEllipse

Đồ họa vector

Mô tả

Vẽ một ellipse có tâm tại một điểm nhất định, vừa khít trong box kích thước chỉ định

Cú pháp

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

Tham số

XPosTọa độ ngang của tâm ellipse Tọa độ dọc của tâm ellipse
YPosChiều rộng của ellipse
Width
HeightChiều cao của hình ellipse
DrawOptions0 = viền 1 = tô 2 = tô và viền