问题描述
<ContentPage>
<ContentPage.Content>
<Grid>
// Row deFinitions here
// Column deFinitions here
<Image
Grid.Column="0"
Grid.Row="0"
x:Name="myStoryPage"
Grid.ColumnSpan="3">
</Image>
<!-- Next,prevIoUs buttons here -->
<skiaforms:SKCanvasView x:Name="canvasView"
PaintSurface="canvasView_PaintSurface"
Grid.Row="3"
Grid.Column="0"
Grid.ColumnSpan="3"
AbsoluteLayout.LayoutBounds="10,5,65"/>
</Grid>
</ContentPage.Content>
</ContentPage>
现在我需要使用 SkiaSharp 突出显示图像中的一个区域。
我可以使用 SKCanvasView
在网格下画一条线。但我想在图像上绘制。
我想使用AbsoluteLayout
,但由于我的页面是ContentPage
,我无法在内容之外使用AbsoluteLayout
。
如果我可以使用 AbsoluteLayout
,我可以在后面的代码中使用 C#
动态定位它。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)