Moving shapes to Front and Back

17 Oct 2018 / 1 minute to read

ImageEditor allow us to change the position of shapes/Edits which are arranged over the editor. This can be achieved with the help of following methods.

  1. BringToFront
  2. SendToBack
  3. BringForward
  4. SendBackward

BringToFront

The BringToFront method is used to bring the selected shapes/text to the front of a group of elements over an image.

editor.BringToFront();

SendToBack

The SendToBack method is used to send the selected shapes/text to the back of a group of elements over an image.

editor.SendToBack();

BringForward

The BringForward method is used to bring the selected shapes/text to one step front of a group of elements over an image.

editor.BringForward();

SendBackward

The SendBackward method is used to send the selected shapes/text to one step backward of a group of elements over an image.

editor.SendBackward();

SfImageEditor