Replies: 2 comments
-
SkiaSharp is more of a base level library in that it does not support many abstract actions - such as a concept of dragging or clicking. If you want to support dragging, you will have to do most of the work yourself:
I have the most basic sample where I "drag" text around. Not really dragging as the text snaps to the tap location, but this can be changed to first detect tap location: https://github.com/mono/SkiaSharp/blob/main/samples/Basic/Maui/SkiaSharpSample/MainPage.xaml.cs |
Beta Was this translation helpful? Give feedback.
-
@mattleibow |
Beta Was this translation helpful? Give feedback.
-
Description
I wanted to develop a game where I would like to use SikaSharp for the Mobile platform. The provided samples only work for UWP. Even the models on UWP are complex because one sample code implements more than one concept and makes the code useless. Too much information is no information.
Code
Just need simple dragging with Skiashap which can run all devices.
Expected Behavior
No response
Actual Behavior
No response
Version of SkiaSharp
2.88.3 (Current)
Last Known Good Version of SkiaSharp
2.88.2 (Previous)
IDE / Editor
Visual Studio (Windows)
Platform / Operating System
All
Platform / Operating System Version
No response
Devices
No response
Relevant Screenshots
No response
Relevant Log Output
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions