Line-Cap

From DocBase

Jump to: navigation, search

LINE-CAP

Sets the style that will be used when drawing the ends of lines.

Arg Type Description Values
mode [word!] Cap style butt

square rounded


Notes and Examples

line-cap butt
pen yellow
line-width 1
line 20x20 150x20
line-width 3
line 20x40 150x40
line-width 5
line 20x60 150x60
line-width 7
line 20x80 150x80
line-width 9
line 20x100 150x100
line-width 11
line 20x120 150x120

translate 0x140

line-cap square
pen yellow
line-width 1
line 20x20 150x20
line-width 3
line 20x40 150x40
line-width 5
line 20x60 150x60
line-width 7
line 20x80 150x80
line-width 9
line 20x100 150x100
line-width 11
line 20x120 150x120

translate 160x-70

line-cap rounded
pen yellow
line-width 1
line 20x20 150x20
line-width 3
line 20x40 150x40
line-width 5
line 20x60 150x60
line-width 7
line 20x80 150x80
line-width 9
line 20x100 150x100
line-width 11
line 20x120 150x120

LINE-CAP example 1


Personal tools