tidev / ti.paint Goto Github PK
View Code? Open in Web Editor NEWTouch-based painting with the Titanium SDK.
License: Other
Touch-based painting with the Titanium SDK.
License: Other
ti.pain on gitt.io linked with another repo
cc @FokkeZB
Hi, I am struck with this issue for couple of days. Please help me with the following code:
var paintView = Paint.createPaintView({
image : icons.chartBoardBg,
strokeColor : '#0f0',
strokeAlpha : 255,
strokeWidth : 10,
eraseMode : false
});
win.add(paintView);
var buttonStrokeWidth = Ti.UI.createButton({
left : 10,
bottom : 10,
right : 10,
height : 50,
title : 'Increase Stroke Width'
});
buttonStrokeWidth.addEventListener('click', function(e) {
paintView.strokeWidth = 50;
});
win.add(buttonStrokeWidth);
After the button click I am trying to increase the strokeWidth of the paintView. But its not working and user is unable to draw.
I am using this module to get the signature of the user in image format. I want to know if the user is saving a empty signature or is putting anything into it.
has anyone tested the Android module on Lollipop yet?
It's not working for me.
When drawing something in the paint area then tapping on a text field below it to enter text when the keyboard pops up the painted content clears out.
Can't run on Android 6.0 with SDK 5.1 because of text relocations.
This is the 64Bit problem with IOS modules all over again... the SDK is upgraded but the modules is not..
This renders SDK 5.1 GA useless if You use this module...
Sorry for the language, but this is frustrating...
setStrokeWidth
(and color
/mode
/alpha
and also setImage
) are called on the kroll runtime thread. All these lead to UIPaintView.finalizePaths()
which nullifies tiPaths
. If this happens while touch events are being processed (on the UI thread), you'd get a null reference in finalizePath()
(without s).
The solution is to either execute all the public interface on the UI thread (same as clear
is implemented), or synchronize on tiPath
and possibly other members.
I stumbled here upon clicking the Download button from the Appcelerator marketplace. Normally, it should take me to the products page and allow me to download this as a zip file ready to be installed as a module. Can anyone give directions on how to compile this repo to that same zip file? Thanks
HI Team,
I am not able to incorporate the module in Appcelerator iOS Project. When I incorporate and generate an iPA my iPA doesnt work .
I have referenced the module as instructed. My Screen doesnt goes from List Screen to detail screen. I have referenced the module in the detail page of the project.
I have an app I inherited that uses ti.paint 1.1
When I upgrade to 1.4 (and even tried 1.4.1), the app opens on 64-bit, but the drawing and text addition features do not work at all.
It just draws a black line when I tap and drag with any of the tools.... but the line disappears completely on touch end.
Any thoughts?
Should I try to recompile the 1.1 version for 64 bit? the 1.1 version still works on 32-bit... but the 1.4 version does NOT work on 32-bit.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.