I'm coding an application with xamarin forms and I've a problem.
The goal is to have an image (from an api), detect the touch event when the user touches the screen on this image and then, draw something like an icon on the image with the coordinates catched by the touch event.
I didn't find any component that allow me to do that. Has someone an idea?
Thanks
Maybe this can help:
https://forums.xamarin.com/discussion/comment/190529#Comment_190529
https://www.nuget.org/packages/Xamarin.Controls.SignaturePad/
https://github.com/15mgm15/Xamarin-Forms-Signature
You can set an Image for the background and use the signature pad to draw in front of it.
Related
I am trying to build an application similar to apps such as Mathpix or Photomath which has a live camera feed and a resize-able box in the middle to tell the camera exactly where to scan. I am wondering how I can replicate this behavior in Xamarin.Forms.
Resizeable Camera Image
Click the link to view the image of the screen I am attempting to replicate. When a user taps on the screen the cropped image is highlighted and then that input is processed. All I need to do is create a replica UI without the backend processing.
Thanks for the help!
I am making an overlay program with C# that will have an overlay for games. I am currently using a borderless form with a transparent background and a picture box to draw pictures to the screen, but I can't click the window behind the form. I have set the form to be always on top so that I can play games and the UI stays, but every time the mouse goes over the form in the game if I click the focused window switches to my form, preventing game interaction.
I have tried using functions to just draw images to the screen without using forms, but I cannot work out how to do that.
All I want is things like an external menu/crosshair and such, for use in minecraft. As for the menu, I could make my own media controls and such, and the crosshair would be useful because I hate the default crosshair. I could draw shapes to the screen, but if I don't use pictures the crosshair might look tacky.
A possible solution is a per pixel alpha blending window.
Here is a good starting point: Per Pixel Alpha Blend in C#
The example source code should give you the idea.
Hope this helps
I'm building a simple image viewing app. I need to display images in a control which user can swipe and move to the next one until the end and then moves to the first slide. WinRT FlipView does not behave like this it stops from the last image. Is it possible to create something like that manually? I'm not familiar with gestures and tried to detect the swipe and do it.But I couldn't manage to get the image sliding effect with the finger like it happens in FlipView. Anyone?
I would like to recommend Syncfusion controls for WinRT Xaml.
They have an excellent Carousel control that may meet your requirement.
User can swipe to move to next & previous slide.
Please go through the following link for more details,
http://www.syncfusion.com/products/winrt/carousel
How can I get touched pixel's coordinate on wp7? I mean, I have a photo and I want to happen an event, after touching, that uses this touched pixel. How can be solved this problem. I'm working on silverlight.
You might want to look at the GestureService in the Silverlight toolkit. There should be a method for getting location of the gesture in there.
I have quite an uncommon question: Does anyone know whether it is possible to draw something on the backside of a WPF Window?
Normally people create Controls or draw images on the front side of a WPF Window. However, I would like to draw things on the backside. Here is an Image taken with the Snoop tool. Snoop has the functionality of viewing a WPF Application in 3D. Using the so-called Zoomer it is possible to look behind a window.
I would like to either draw an Image or put a Control so that you can see it with using the Zoomer functionality of snoop at the back of the application.
Has anyone got an idea of how this could be done?
Thanks,
Christian
There is no backside.
What most applications do is simply replace the control/window by another one as soon as it has rotated by 90 degrees.