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:
</CODE></P><PRE class="lia-code-sample line-numbers language-none"><CODE><SPAN class="comment token">// Gets the selected graphic</SPAN>
Graphic editGraphic <SPAN class="operator token">=</SPAN> <SPAN class="keyword token">await</SPAN> <SPAN class="token function">GetGraphicAsync</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">;</SPAN>
SketchEditConfiguration obj <SPAN class="operator token">=</SPAN> <SPAN class="keyword token">new</SPAN> <SPAN class="token class-name">SketchEditConfiguration</SPAN>
<SPAN class="punctuation token">{</SPAN>
AllowMove <SPAN class="operator token">=</SPAN> <SPAN class="keyword token">true</SPAN><SPAN class="punctuation token">,</SPAN>
AllowVertexEditing <SPAN class="operator token">=</SPAN> <SPAN class="keyword token">false</SPAN><SPAN class="punctuation token">,</SPAN>
ResizeMode <SPAN class="operator token">=</SPAN> SketchResizeMode<SPAN class="punctuation token">.</SPAN>Uniform<SPAN class="punctuation token">,</SPAN>
AllowRotate <SPAN class="operator token">=</SPAN> <SPAN class="keyword token">true</SPAN>
<SPAN class="punctuation token">}</SPAN><SPAN class="punctuation token">;</SPAN>
Esri<SPAN class="punctuation token">.</SPAN>ArcGISRuntime<SPAN class="punctuation token">.</SPAN>Geometry<SPAN class="punctuation token">.</SPAN>Geometry newGeometry <SPAN class="operator token">=</SPAN> <SPAN class="keyword token">await</SPAN> MyMapView<SPAN class="punctuation token">.</SPAN>SketchEditor<SPAN class="punctuation token">.</SPAN><SPAN class="token function">StartAsync</SPAN><SPAN class="punctuation token">(</SPAN>editGraphic<SPAN class="punctuation token">.</SPAN>Geometry<SPAN class="punctuation token">,</SPAN> SketchCreationMode<SPAN class="punctuation token">.</SPAN>Circle<SPAN class="punctuation token">,</SPAN> obj<SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">;</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>
};