Canvas line cap styles snippet