DrawRoundedBox
Đồ họa vector, Bố cục trang
Mô tả
Vẽ một hình chữ nhật bo góc lên trang đang chọn
Cú pháp
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);
Tham số
| Left | Horizontal co-ordinate of left edge of rectangle Vertical co-ordinate of top edge of rectangle |
|---|---|
| Top | Rectangle width |
| Width | |
| Height | Rectangle height |
| Radius | Bán kính của các cung ở góc |
| DrawOptions | 0 = viền 1 = tô 2 = tô và viền |