Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to set different brush patterns iphone

Tags:

iphone

I set brush pattern using CGContext and Bezierpath on UIImageView.

Is this a good approach?

Do we have any other best practices to set brush pattern, to create different paint brush pattern.

Does anybody have different design pattern that I can use when implementing my brush?

like image 924
kiran Avatar asked Sep 18 '10 20:09

kiran


People also ask

How to change vibration patterns on iPhone?

Step 2: Go to " Sounds " option. Step 3: Choose the category of which you'd like to change vibration patterns, like New Email, Tweet or Facebook Post. Step 4: Tap on " Vibration " and choose a new Vibration pattern. If you have set the sounds as Vibration on Ring, I guess you might be interested in how to change ringtone on iPhone, too.

How do you use a pattern brush?

Create brush strokes with the appearance of a natural brush with bristles. Paint a pattern—made of individual tiles—that repeats along the path. Pattern brushes can include up to five tiles, for the sides, inner corner, outer corner, beginning, and end of the pattern.

What are the different types of pattern brushes?

Pattern brushes can include up to five tiles, for the sides, inner corner, outer corner, beginning, and end of the pattern. A. Calligraphic Brush B. Scatter Brush C. Art Brush D. Pattern Brush E. Bristle Brush Scatter brushes and Pattern brushes can often achieve the same effect.

How do I change the brush options in InDesign?

In the Brush Options dialog box, enter a name for the brush, set brush options, and click OK. To change the options for a brush, double-click the brush in the Brushes panel. Set the brush options and click OK. If the current document contains brushed paths that use the modified brush, a message appears.


1 Answers

Yes, it's fine if that's what you want to do. All a "brush" means in this context is how you want to stroke a line. If you're just trying to set the stroke pattern for a bezier path on some UIImageView then yes, it sounds like what you're doing is appropriate.

Now, depending on what your end goal is, there may be different ways to approach it. Your method might have complications when interacting with the higher level drawing in UIKit. Since you asked this 7 months ago though, I'm hoping you already figured it out.

like image 121
DougW Avatar answered Sep 29 '22 19:09

DougW