AnsweredAssumed Answered

Resizing Simplefillsymbol with same center point?

Question asked by bikesh707 on Aug 9, 2017

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);

};

Outcomes