Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bharath2020/QuartzPatterns
Sample project to demonstrate Quartz2D patterns in iOS
https://github.com/bharath2020/QuartzPatterns
Last synced: 3 months ago
JSON representation
Sample project to demonstrate Quartz2D patterns in iOS
- Host: GitHub
- URL: https://github.com/bharath2020/QuartzPatterns
- Owner: bharath2020
- Created: 2011-07-09T06:25:15.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-07-09T07:33:29.000Z (over 13 years ago)
- Last Synced: 2023-03-24T03:26:34.094Z (almost 2 years ago)
- Language: Objective-C
- Homepage: http://t.co/ESEU1OK
- Size: 120 KB
- Stars: 8
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.txt
Awesome Lists containing this project
- awesome - QuartzPatterns - Sample project to demonstrate Quartz2D patterns in iOS (etc)
- awesome - QuartzPatterns - Sample project to demonstrate Quartz2D patterns in iOS (etc)
README
If you are looking for help on how to stroke or fill up a pattern, then You have landed at the right place.
A pattern can be fill up in different shapes like rectangle, circle and so on.
NOTE: A reader of this post is assumed to have prior knowledge of custom drawing in iOS's UIView, CGContext, and Quartz 2D basics
The Sample code demonstrates the following things:
• Creation of 3 Different kinds of patterns using CGPattern
• In the Sample, tap "Change Pattern" to switch to next pattern
• Use the slider, to increase the size of pattern cellA Detailed explanation of the Sample project can be found here http://t.co/ESEU1OK