SetLineCap
Đồ họa vector
Mô tả
Đặt kiểu đầu nét cho các đường thẳng vẽ sau đó
Cú pháp
Delphi
Function TPDFlib.SetLineCap(LineCap: Integer): Integer;
ActiveX
Function PDFlib::SetLineCap(LineCap As Long) As Long
DLL
int DLSetLineCap(int InstanceID, int LineCap);
Tham số
| LineCap | Kiểu đầu nét cần dùng: 0 = Butt 1 = Round 2 = Projecting square cap |
|---|
Giá trị trả về
| 0 | Tham số LineCap không hợp lệ |
|---|---|
| 1 | Đã đặt kiểu đầu nét thành công |