[英]Xamarin SkiaSharp add text on click
i have a question. 我有个问题。 I created a SkiaSharp canvas, but now I am wondering if it is possible that I can add text to the canvas onclick. 我创建了SkiaSharp画布,但是现在我想知道是否可以在onclick上向画布添加文本。 So when I click on a place in the canvas, I can type the text for that place on the canvas. 因此,当我单击画布中的某个位置时,可以在画布上键入该位置的文本。 I can't find anything on the internet, so maybe you guys know if this is possible? 我在互联网上找不到任何东西,所以也许你们知道这是否可能吗?
You couldn't find anything hmm... 你什么都找不到...
https://docs.microsoft.com/en-us/dotnet/api/skiasharp.skcanvas.drawtext?view=skiasharp-1.68.0 https://docs.microsoft.com/zh-cn/dotnet/api/skiasharp.skcanvas.drawtext?view=skiasharp-1.68.0
https://docs.microsoft.com/tr-tr/xamarin/xamarin-forms/user-interface/graphics/skiasharp/basics/text https://docs.microsoft.com/tr-tr/xamarin/xamarin-forms/user-interface/graphics/skiasharp/basics/text
https://forums.xamarin.com/discussion/105582/drawtext-multiline https://forums.xamarin.com/discussion/105582/drawtext-multiline
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.