Resizing Simplefillsymbol with same center point?

444
0
08-09-2017 02:14 PM
BikeshMaharjan1
New Contributor III

Trying to resize a Simplefillsymbol (Circle and Rectangle shape in my case) with same center point. From SketchEditConfiguration, I could change the resizemode but none of them let me retain the center point and resize it. Is there any way we can resize a shape with same center point?

Code sample:

// Gets the selected graphic
Graphic editGraphic = await GetGraphicAsync();

SketchEditConfiguration obj = new SketchEditConfiguration
                {
                    AllowMove = true,
                    AllowVertexEditing = false,
                    ResizeMode = SketchResizeMode.Uniform,
                    AllowRotate = true
                    
                };

Esri.ArcGISRuntime.Geometry.Geometry newGeometry = await MyMapView.SketchEditor.StartAsync(editGraphic.Geometry, SketchCreationMode.Circle, obj);‍‍‍‍‍‍‍‍‍‍‍‍

};

0 Kudos
0 Replies