Show / Hide Table of Contents

Enum ShapeToolType

The shapes that can be created by using a ShapeTool with a GeometryEditor.

Namespace: Esri.ArcGISRuntime.UI.Editing
Assembly: Esri.ArcGISRuntime.dll
Syntax
public enum ShapeToolType

Fields

Name Description
Arrow

Allows you to drag on a map view to define the corners of a bounding box within which an arrow-shaped geometry fits.

The created arrow shape is aligned along the horizontal axis, pointing in the direction of the drag. To create arrows pointing in other directions, ensure AllowRotatingSelectedElement and AllowPartSelection are true to allow interactive selection and rotation to the desired direction.

Ellipse

Allows you to drag on a map view to define the center point and a point on the circumference of an ellipse-shaped geometry.

To create a circular shape, use this value in combination with a Configuration ScaleMode value of Uniform. Geometries created using this type are not represented by true curves but rather consist of a series of straight lines (HasCurves is false).

Rectangle

Allows you to drag on a map view to define the corners of a bounding box within which a rectangle-shaped geometry fits.

To create a square shape, use this value in combination with a Configuration ScaleMode value of Uniform. Geometries created using this type are either polygons or polylines, depending on the parameter passed to Start(GeometryType) - it cannot create an Envelope geometry.

Triangle

Allows you to drag on a map view to define the center point and a corner of a triangle-shaped geometry.

The created triangle shape is aligned along the vertical axis, pointing opposite to the direction of the drag. To create triangles pointing in other directions, ensure AllowRotatingSelectedElement and AllowPartSelection are true to allow interactive selection and rotation to the desired direction.

To create an equilateral triangle, use this value in combination with a Configuration ScaleMode value of Uniform.

See Also
Create(ShapeToolType)

Applies to

TargetVersions
.NET Standard 2.0200.3 - 200.7
.NET200.3 - 200.7
.NET Windows200.3 - 200.7
.NET Android200.3 - 200.7
.NET iOS200.3 - 200.7
.NET Framework200.3 - 200.7
UWP200.3 - 200.7
In This Article
Back to top Copyright © 2022 Esri.