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ố

LineCapKiểu đầu nét cần dùng: 0 = Butt 1 = Round 2 = Projecting square cap

Giá trị trả về

0Tham số LineCap không hợp lệ
1Đã đặt kiểu đầu nét thành công