V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
iOS 开发实用技术导航
NSHipster 中文版
http://nshipster.cn/
cocos2d 开源 2D 游戏引擎
http://www.cocos2d-iphone.org/
CocoaPods
http://cocoapods.org/
Google Analytics for Mobile 统计解决方案
http://code.google.com/mobile/analytics/
WWDC
https://developer.apple.com/wwdc/
Design Guides and Resources
https://developer.apple.com/design/
Transcripts of WWDC sessions
http://asciiwwdc.com
Cocoa with Love
http://cocoawithlove.com/
Cocoa Dev Central
http://cocoadevcentral.com/
NSHipster
http://nshipster.com/
Style Guides
Google Objective-C Style Guide
NYTimes Objective-C Style Guide
Useful Tools and Services
Charles Web Debugging Proxy
Smore
Gal3rielol
V2EX  ›  iDev

求问一下iOS5新的文字效果应该怎么实现

  •  
  •   Gal3rielol ·
    Gal3riel · 2012-02-27 15:57:53 +08:00 · 3860 次点击
    这是一个创建于 4444 天前的主题,其中的信息可能已经有所发展或是发生改变。
    如图所示


    iOS短信里的文字周围描了一层白边,有雕刻的感觉
    这种效果应该怎么实现呢?
    6 条回复    1970-01-01 08:00:00 +08:00
    levey
        1
    levey  
       2012-02-27 16:11:55 +08:00
    这难道不是Drop Shadow么。。。
    ahxsong
        2
    ahxsong  
       2012-02-27 16:18:40 +08:00
    你要在哪实现?要是在网页的话,可以显示出两层文字,下面那层是白色,偏移一像素即可
    mepine
        3
    mepine  
       2012-02-27 16:26:58 +08:00
    yyfearth
        4
    yyfearth  
       2012-02-27 16:33:35 +08:00
    不就相当于html5的text-shadow么
    Gal3rielol
        5
    Gal3rielol  
    OP
       2012-02-27 16:37:26 +08:00
    @levey 我自己弄明白了=. =,加了个白色的drop shadow...
    Gal3rielol
        6
    Gal3rielol  
    OP
       2012-02-27 16:38:18 +08:00
    @ahxsong 谢谢啦,美工无力>.<
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1079 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 18:46 · PVG 02:46 · LAX 11:46 · JFK 14:46
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.