moveSelectedElement

fun moveSelectedElement(deltaX: Double, deltaY: Double)

Moves the selected element by the specified distances along the x-axis and y-axis.

Since

200.1.0

See also

Throws

if any of the given values are NaN or infinity

if there is no element currently selected


fun moveSelectedElement(newPoint: Point)

Moves the selected element to the specified location. If GeometryEditor.selectedElement is a GeometryEditorVertex, then the location of the vertex is moved to the given point. If the GeometryEditor.selectedElement is any other type of GeometryEditorElement, then the center of the element is moved to the given point.

Since

200.1.0

See also

Throws

if the given point is empty

if there is no element currently selected