Skip to content

Instantly share code, notes, and snippets.

@toddlindner
toddlindner / WildText.js
Last active December 14, 2015 13:28 — forked from grantges/WildText.js
Updated to use temp folder (no need to back these temp images up), and re-use previously rendered.
/*
WildText CommonJS module for Appcelerator Titanium
Create dynamic gradient filled text in your iOS Applications using this simple module.
@params : text - String. The text for your label
font - Font. Specify the font attributes for the label (defaults to standard size, weight and family),
backgroundGradient - BackgroundGradient. Specify your backgroundGradient object (defaults to White to Black linear gradient),
Top - Integer. Top property for your label,
Left - Integer. Left Property for your Label,