Alright... So you're saying that if I want to create a line (the most basic shape) in SFML (a library centered around GRAPHICS) I have to use another library or create the sf::LineShape class myself?
No.
Firstly, the "library" that I mentioned contains pretty much self-contained classes that can be used without the rest of the library; you can just copy and paste and use individual classes.
Secondly, I also mentioned that there are line classes in the SFML wiki that can just be copied directly.
[T]hey are just rotated rectangles.
[...]
[M]aybe a better option would be to provide alternative ways to build a rectangle?
This makes a lot of sense.
Why is a thick line called a line? It is because of the controls to manipulate it are different.
Creation of a line rectangle would require the positions of the centres of opposition sides and the width (or height) of the rectangle. However, just creation is not enough; it must be able to be moved in this way too (imagine moving one point of a line, for example).
The main issue with creating a line using sf::RectangleShape is that you can't define the start position and the end position. It's very arkward to rotate a sf::RectangleShape to do that.
...
This abstracts away the whole having to create a rectangle, get the right angle and length so it starts at 23, 74 and ends at 163, 293, then creating two other rectangles and rotating them at the right angle so they make an arrow. And then having to create two circles or something at the end of the rectangle so that it has smooth ends. This gets tedious and sf::LineShape is much quicker and easier. Otherwise using a sf::RectangleShape to create this would be bordering on impossible.
I don't think that using a rectangle shape to create a line is a lot of work.
See here.
One thing you mentioned here is that you think that lines should have rounded edges which is a completely new thing entirely (technically, a rounded rectangle, which, by the way, is also available in the SFML wiki).