Skip to content

hansemannn/titanium-svg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Titanium SVG

A lightweight module to handle SVG files (both raw text or file URL) in Titanium. It returns a Ti.Blob that can be consumed by a Ti.UI.ImageView, Ti.Map.Annotation, etc.

Example

const window = Ti.UI.createWindow();
const image = require('ti.svg').SVGImage('icon.svg');

window.add(Ti.UI.createImageView({ image }))
window.open();

Author

Hans Knöchel

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published