https://github.com/eleme/nvmimagemaker
API for chaining image drawing codes in Objc.
https://github.com/eleme/nvmimagemaker
Last synced: 6 months ago
JSON representation
API for chaining image drawing codes in Objc.
- Host: GitHub
- URL: https://github.com/eleme/nvmimagemaker
- Owner: eleme
- License: mit
- Created: 2015-12-08T12:28:46.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2017-08-28T11:43:07.000Z (over 8 years ago)
- Last Synced: 2025-07-12T08:40:01.934Z (6 months ago)
- Language: Objective-C
- Homepage:
- Size: 97.7 KB
- Stars: 19
- Watchers: 18
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NVMImageMaker
[](https://travis-ci.org/eleme/NVMImageMaker)
[](http://cocoapods.org/pods/NVMImageMaker)
[](http://cocoapods.org/pods/NVMImageMaker)
[](http://cocoapods.org/pods/NVMImageMaker)
## Usage
Use `nvm_beginImage` to start, apply any supported attributes in your drawing chain, just call `make` in the end to get an image:
```
UIImage *image = nvm_beginImage(size)
.fillColor(fillColor)
.borderColor(borderColor)
.cornerRadius(20)
.opacity(0.5)
.make;
```
To run the example project, clone the repo, and run `pod install` from the Example directory first.
## Requirements
iOS 7
## Installation
NVMImageMaker is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:
```ruby
pod "NVMImageMaker"
```
## License
NVMImageMaker is available under the MIT license. See the LICENSE file for more info.