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 指定 stroke path 转角处使用的形状

 

Value                Meaning


 

 

ljMiterJoin

Miter join:两个线段 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

两个线段相交处会被填充,从而产生圆角

corner.

 

Round line join diagram

 

 

ljBevelJoin

Bevel join:两个线段以 butt caps 结束,并保留线段端点之外形成的缺口

is filled with a triangle.

 

Bevel line join diagram