iphone Programming Glossary: roundedrectanglepath
How to highlight a UIButton subclass? http://stackoverflow.com/questions/10084606/how-to-highlight-a-uibutton-subclass .CGColor CGSize shadow2Offset CGSizeMake 0 0 CGFloat shadow2BlurRadius 2 Rounded Rectangle Drawing UIBezierPath roundedRectanglePath UIBezierPath bezierPathWithRoundedRect CGRectMake 35 5 250 50 cornerRadius 6 CGContextSaveGState context CGContextSetShadowWithColor.. context shadow2Offset shadow2BlurRadius shadow2 CGContextSetFillColorWithColor context shadow2 roundedRectanglePath fill roundedRectanglePath addClip CGContextDrawLinearGradient context redGradient CGPointMake 160 55 CGPointMake 160 5 0.. shadow2Offset shadow2BlurRadius shadow2 CGContextSetFillColorWithColor context shadow2 roundedRectanglePath fill roundedRectanglePath addClip CGContextDrawLinearGradient context redGradient CGPointMake 160 55 CGPointMake 160 5 0 Rounded Rectangle Inner Shadow..
|