By using the same square, we further experiment with the various options in the STROKE command.
STROKE {p miterjoin}
STROKE {p roundjoin}
STROKE {p beveljoin}

startshape MyShape
path Shape1 {
MOVETO {x -0.5 y -0.5}
LINETO {x 0.5 y -0.5}
LINETO {x 0.5 y 0.5}
STROKE {p buttcap}
}
path Shape2 {
MOVETO {x -0.5 y -0.5}
LINETO {x 0.5 y -0.5}
LINETO {x 0.5 y 0.5}
STROKE {p roundcap}
}
path Shape3 {
MOVETO {x -0.5 y -0.5}
LINETO {x 0.5 y -0.5}
LINETO {x 0.5 y 0.5}
STROKE {p squarecap}
}
rule MyShape {
Shape1 {x -1.5}
Shape2 {x 0}
Shape3 {x 1.5}
}














