An editor that allows editing and creation of features with a bounds shape.

Handles

The bounds editor defines the following edit handles:
BoundsEditor handles
BoundsEditor handles
  • Bounds resize handles (A): by dragging one of these handles, the user moves the corresponding corner of the bounds.
  • Shape translate handle: translates (moves) the entire Bounds shape. The light blue area in the image above indicates where the shape translate handle is active. This includes the red stroke.

Creation

The BoundsCreateHandle.

Since

2022.1

Hierarchy

Constructors

Methods

  • Creates an edit handle that allows the user to change the bounds by dragging a corner. This method is called 4 times by corner.

    Parameters

    Returns null | EditHandle

  • Creates the shape translation handle.

    This is a handle that allows translation (moving) of an entire shape / feature.

    Parameters

    • context: EditContext

      The context to retrieve the shape translate handle for

    Returns null | EditHandle

  • Called whenever one of the flipped.

    This notifies all handles that they should update their BoundsResizeHandleIdentifier.

    Parameters

    • flipHorizontal: boolean

      Indicates that a horizontal flip has occurred

    • flipVertical: boolean

      Indicates that a vertical flip has occurred

    Returns void