开发者

create TTSpeechBubbleShape like the image

开发者 https://www.devze.com 2023-03-18 03:25 出处:网络
I want to create the speechBubbleShape in the image(in red).My code is is like: [TTShapeStyle styleWithShape:[TTSpeechBubbleShape shapeWithRadius:5 pointLocation:50

I want to create the speechBubbleShape in the image(in red). My code is is like:


[TTShapeStyle styleWithShape:[TTSpeechBubbleShape shapeWithRadius:5 pointLocation:50
                                                                      pointAngle:90
                                                                       pointSize:CGSizeMake(10,5)] next:
                [TTSolidFillStyle styleWithColor:[UIColor whiteColor] next:
                 [TTLinearGradientBorderStyle styleWithColor1:[UIColor grayColor]
                                                       color2:RGBCOLOR(216, 221, 231) width:1 ne开发者_开发技巧xt:nil]]];

However, it doesn't has the shadow effect on top of it. you can refer to below:

create TTSpeechBubbleShape like the image

Thanks

0

精彩评论

暂无评论...
验证码 换一张
取 消