A Mixin class for
GraphicObjects with starting and ending anchors.
This mixin only provides a common interface for ending anchors.
The starting position of this spanner should be the main object's
GraphicObject.pos, and the starting anchored should be the its
GraphicObject.parent. It is up to the implementing class to
decide how to use this information.
For an example implementation, see
(Point or init tuple): The position of the endpoint
— The x position of the endpoint
— The y position of the endpoint
— The position of the endpoint
— The parent of the endpoint.
— The x-axis length of the spanner.
Implementing subclasses will often want to override
GraphicObject.length to return this.