Adds a new label shape.
The text of the label.
The x-coordinate of the label.
The y-coordinate of the label.
True to select the shape after adding.
The added label shape.
Loads a shape by its state.
The state of the shape.
The loaded shape.
Reloads a shape with a given state.
The shape to reload.
The state of the shape.
Class managing markups on a canvas.