/ Published in: Objective C
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// Save the current graphics state first so we can restore it. // Change the pattern phase. NSMakePoint(0,[self frame].size.height)]; // Stick the image in a color and fill the view with that color. NSRectFill([self bounds]); // Restore the original graphics state.