Rotate Geometry Activity

Description

The Rotate Geometry activity rotates a geometry counterclockwise by the specified number of degrees.

Inputs

Geometry

Required

Type: esri.Geometry (3.x, 4.x)*

The geometry to rotate.

Angle

Required

Type: Number

The rotation angle in degrees.

Origin

Optional

Type: esri.Point (3.x, 4.x)*

The point to rotate the geometry around. Defaults to the centroid of the geometry.

* VertiGIS Studio Workflow uses different versions of Esri's ArcGIS API for JavaScript depending on the type of host application. See Underlying Technologies for information.

Outputs

geometry

Type: esri.Geometry (3.x, 4.x)*

The rotated geometry.

* VertiGIS Studio Workflow uses different versions of Esri's ArcGIS API for JavaScript depending on the type of host application. See Underlying Technologies for information.

Properties

For information about the ID, Display Name, and Description properties, see Properties Common to all Activities.

Supported Environments

Environments capable of running this activity

Server

 

Client

Web

Mobile

Experience Builder

Web AppBuilder

Geocortex Viewer for HTML5

Levels of Support:      Full Support      Partial Support      No Support

Connectivity Requirements

This activity works when the device has intermittent connectivity to the network.

Version Information

Supported from: Geocortex Viewer for HTML5 2.9, ArcGIS Web AppBuilder 2.4.

See also...

https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Geometry.html