SetLineCap
Vector graphics
คำอธิบาย
ตั้งสไตล์ปลายเส้นให้เส้นที่วาดต่อจากนี้
ไวยากรณ์
Delphi
Function TPDFlib.SetLineCap(LineCap: Integer): Integer;
ActiveX
Function PDFlib::SetLineCap(LineCap As Long) As Long
DLL
int DLSetLineCap(int InstanceID, int LineCap);
พารามิเตอร์
| LineCap | สไตล์ปลายเส้นที่จะใช้: 0 = Butt 1 = Round 2 = Projecting square cap |
|---|
ค่าที่ส่งคืน
| 0 | พารามิเตอร์ LineCap ไม่ถูกต้อง |
|---|---|
| 1 | ตั้งสไตล์ปลายเส้นสำเร็จแล้ว |