同时在 2 个 inkCanvas 上绘制 ink
我正在实现多点触控应用程序。我有 2 个 inkcanvas,EditingMode 为“Ink”。 如果我同时在 2 个 inkcanvas 上绘制墨水,则不起作用。我一次只能在一张 inkcanvas 上绘制墨水。
<Grid x:Name="g1">
<InkCanvas Background="CadetBlue" Margin="0,0,153,0" EditingMode="Ink"></InkCanvas>
<InkCanvas Background="Red" Margin="153,0,20,0" EditingMode="Ink"></InkCanvas>
</Grid>
如何同时在 2 个 inkcanvas 上绘制墨水?
谢谢
I am implementing multi-touch application. I have 2 inkcanvases that EditingMode is "Ink".
If I draw ink on 2 inkcanvases at the same time, it 's not working. I can draw ink on only one inkcanvas at a time.
<Grid x:Name="g1">
<InkCanvas Background="CadetBlue" Margin="0,0,153,0" EditingMode="Ink"></InkCanvas>
<InkCanvas Background="Red" Margin="153,0,20,0" EditingMode="Ink"></InkCanvas>
</Grid>
How do I draw ink on 2 inkcanvases at the same time?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您一次只能在一张画布上绘图。您可以尝试在两者上交替绘制一点点,这样看起来就像是同时绘制的。
You can only draw on one Canvas at a time. You can try drawing little bit by bit on both alternatively so that it may look like being drawn simultaneously.