In tikz, we can do path replacing decoration with braces.
Is it possible to do this with some other symbol instead? (eg: square bracket). In the manuals, there is no direct method for this is given. I have a feeling that this is not possible directly. I would like to make sure this.
Note that here i am interested in one long symbol as a path: NOT repeated symbols along a path (as in Putting repeated symbols along a path with decorations? ).
May be, something like text along path will do; is it so? (if one can 'kind of rotate' the text along a path, that would suffice). But, I suppose that would be hard to do.
update: @marmot's answer was an eye-opener. After all, the idea of having a rotated text stretched along a path may not work. I thank @marmot for the effort he put in (i can never do latex code like that :< ). Yet, the stretching of the symbol this way kills it as pointed out by @sebastiano. But, for some symbols there may be better ways to do it. For example, this question for square brackets: Is there a TikZ equivalent to the PSTricks \ncbar command? as pointed out by @marmot in his answer.