Skip to content

dagezi/vector_be_winding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VectorBeWinding Travis

Android Vector Drawable is very convenient, but sometimes it missing holes in the shape generated by some tools. vector_be_winding will massage such Vector Drawalbes so that the shape will be rendered as expected!

Try SampleApp to see how it works.

Installation

gem install vector_be_winding

Usage

Just exec:

% vbw vector_file.xml vector_file_1.xml ...

Then the vector drawable files which doesn't follow winding rules will be automatically converted and the back-up file with .bak extension will be create.

Options

  • -v : verbose; shows the file which will be converted
  • -n : dry run
  • -i : specify the template of back up file name.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/dagezi/vector_be_winding.

License

MIT License.