【发布时间】:2011-09-25 10:57:20
【问题描述】:
如何为 TTStye 制作水平渐变?
- (TTStyle *) myStyle: (UIControlState)state {
return [TTShapeStyle styleWithShape:[TTRectangleShape shape] next:
[TTLinearGradientFillStyle styleWithColor1:RGBCOLOR(60, 60, 60)
color2:RGBCOLOR(30, 30, 30) next:nil]];
}
制作垂直渐变。
也许有一些关于 Three20 TTStyle 的教程?
【问题讨论】:
标签: iphone objective-c ios cocoa-touch three20