05-29-2015 02:23 AM
i am displating my joystick on canvas sucessfully and now i want to add a background image to it for better display please guide in detail. thanks in advance .. ahsan
05-29-2015 04:06 AM - edited 05-29-2015 04:07 AM
Hello ahsan, you can use CanvasDrawBitmap to draw ain image on the canvas.
When searching for a function on a particular control, you can right-click on the control and choose "Control help" in the context menu: in case of the canvas you'll arrive to this help page where some useful resources are grouped. You can look at Programming with Canvas Controls to get some tip on how to use the control in you applications, of simply choose Canvas Control Functions to get a list of all function that can be used on that control. In this page CanvasDrawBitmap is listed.
Additionally, if you go to Help >> Find examples... and search for canvas, you'll get a list of sample projects related to that control: "Alphablend" is one of them that shows how to draw an image on the canvas.
By using these tips you'll be able to proceed in your work without necessarily wait for some forum user to help you.
06-01-2015 01:36 AM
its good to have communication with experts then to be jumping alone in the pond