C# SkiaSharp SVG单击元素获取id
假设我有如下svg文档:C# SkiaSharp SVG单击元素获取id,c#,svg,skia,skiasharp,C#,Svg,Skia,Skiasharp,假设我有如下svg文档: "<svg height='300' width='300'><rect class='rect us' id='12212' x='34' y='54' width='20' height='20'/><rect class='rect us' id='12213' x='64' y='54' width='20' height='20'/></svg> ” 是否可以按给定点点击test SVGElements并获
"<svg height='300' width='300'><rect class='rect us' id='12212' x='34' y='54' width='20' height='20'/><rect class='rect us' id='12213' x='64' y='54' width='20' height='20'/></svg>
”
是否可以按给定点点击test SVGElements并获取此元素的id?如果可以,我如何完成此任务?我在谷歌上搜索了一下,但什么也找不到。这不是带有所有这些js/html/dom或其他东西的web开发人员。我正在Xamarin中编写android应用程序。SkiaSharp支持呈现SVG,并且工作正常,我可以加载svg和渲染位图,现在我想让我的矩形可以点击。你成功了吗?我需要同样的东西。谢谢你试过使用一个吗?