THPDFPage.SetLineJoin

THPDFPage

 

傳回頂部  上一頁  下一頁

Sets the line join style.

 

type

TLineJoinStyle = ( ljMiterJoin, ljRoundJoin, ljBevelJoin );

 

Delphi 語法:

procedure SetLineJoin ( LineJoin: TLineJoinStyle );

 

C++ 語法:

void __fastcall SetLineJoin ( TLineJoinStyle LineJoin);

 

描述:

line join style 會指定 stroked paths 的角落所使用的形狀

 

數值意義


 

 

ljMiterJoin

Miter join。兩個 segments 的 stroke 外緣會延伸

until they meet at an angle, as in a picture frame.

Miter line join diagram

 

 

ljRoundJoin

Round join. A circle with a diameter equal to the line width is drawn around

兩個 segments 相交的位置會被填滿,產生圓角

corner.

 

Round line join diagram

 

 

ljBevelJoin

Bevel join。兩個 segments 以 butt caps 結束,且 segments 端點外側形成的 notch 會被填滿

is filled with a triangle.

 

Bevel line join diagram