LineCap (code : hex 1F)

LineCap cap

선 마무리를 설정합니다.

Argument Type Description
cap Text (UTF-8 protocol) \\UInt8 (binary protocol) UTF-8 protocol 에서는 “Butt”, “Round”, “Square” 중 하나.
Binary protocol 에서는 0, 1, 2 중 하나 (각각 Butt, Round,Square ).
# Clear the active layer
Clear
# Draw white lines with a thickness of 10
Color FFFFFF
LineWidth 10
# Draw three lines, each with a different end cap
LineCap Butt
DrawLine 100 100 200 100
LineCap Round
DrawLine 100 150 200 150
LineCap Square
DrawLine 100 200 200 200
# Draw red lines to illustrate the endpoints
LineCap Butt
LineWidth 1
Color FF0000
DrawLine 100 90 100 210
DrawLine 200 90 200 210 

M Display 메인페이지로 가기