How to draw a line on image using appcelerator titanium mobile
Pregunta
I'm want to make an application for Galaxy Tab, that allows me to draw pictures... Something similar to MS Paint (don't ask my why :)) so the first steps are:
win = Ti.UI.createWindow({
backgroundColor: 'black',
exitOnClose: true
});
image = Ti.UI.createImageView({
width: 200,
height: 200
});
image.addEventListener('touchmove', function(e){
//And here I need somehow to draw a pixel on image at e.x, e.y coordinates
// How can i do it?
});
So, how should i draw a pixel?
Solución
sorry I have not read you full Question.
try This, this is a Titanium Appcelerator Module and this is absoultely free It have also a easy example. You can use easy.
Again Really Sorry..
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow