DRAW - Propriedade das linhas:
DRAW line-width
Red [needs: view]
view [
base draw [
line-width 1
line 10x10 70x10
line-width 5
line 10x30 70x30
line-width 20
line 10x60 70x60
]
]
DRAW line-join
Pode ser miter, round , bevel ou miter-bevel*. miter é o default
Red [needs: view]
view [
base draw [
line-width 15
line-join miter
line 60x10 30x60 60x60
]
base draw [
line-width 15
line-join round
line 60x10 30x60 60x60
]
base draw [
line-width 15
line-join bevel
line 60x10 30x60 60x60
]
]
* não consegui fazer a miter-bevel funcionar.
DRAW line-cap
Define o modo de terminação das linhas. Pode ser flat (default) square ou round.
Red [needs: view]
view [
base draw [
line-width 15
line-cap flat ;default
line 10x20 70x20
line-cap square
line 10x40 70x40
line-cap round
line 10x60 70x60
]
base draw [
line-width 15
line-cap flat ;default
line 60x10 30x60 60x60
]
base draw [
line-width 15
line-cap square
line 60x10 30x60 60x60
]
base draw [
line-width 15
line-cap round
line 60x10 30x60 60x60
]
]