NSAttributedStringKey
NSFontAttributeName; //字体,value是UIFont对象
NSParagraphStyleAttributeName;//绘图的风格(居中,换行模式,间距等诸多风格),value是NSParagraphStyle对象
NSForegroundColorAttributeName;// 文字颜色,value是UIFont对象
NSBackgroundColorAttributeName;// 背景色,value是UIFont
NSLigatureAttributeName; // 字符连体,value是NSNumber
NSKernAttributeName; // 字符间隔
NSStrikethroughStyleAttributeName;//删除线,value是NSNumber
NSUnderlineStyleAttributeName;//下划线,value是NSNumber
NSStrokeColorAttributeName; //描绘边颜色,value是UIColor
NSStrokeWidthAttributeName; //描边宽度,value是NSNumber
NSShadowAttributeName; //阴影,value是NSShadow对象
NSTextEffectAttributeName; //文字效果,value是NSString
NSAttachmentAttributeName;//附属,value是NSTextAttachment 对象
NSLinkAttributeName;//链接,value是NSURL or NSString
NSBaselineOffsetAttributeName;//基础偏移量,value是NSNumber对象
NSUnderlineColorAttributeName;//下划线颜色,value是UIColor对象
NSStrikethroughColorAttributeName;//删除线颜色,value是UIColor
NSObliquenessAttributeName; //字体倾斜
NSExpansionAttributeName; //字体扁平化
NSVerticalGlyphFormAttributeName;//垂直或者水平,value是 NSNumber,0表示水平,1垂直
@import url(http://i.cnblogs.com/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);
最新文章
- maven 使用国内代理
- Python编码问题整理
- 堆 poj 2010
- programing Python --Sys module
- C++之路进阶——bzoj1934(善意的投票)
- jQuery模拟鼠标点击事件失效的问题
- 802.11 wireless 七
- .sdp文件格式介绍
- 不使用webview,用手机浏览器的android app
- Windows查看端口被哪个进程占用
- localStorage存值取值以及存取JSON,以及基于html5 localStorage的购物车
- kafka 集群
- SpringBoot 配置Redis
- <;杂记>;Android Studio 3.0-3.1 汉化包 (转载)
- B - Red and Black 问题思考
- 20171126--fragment的小项目
- Python中的相对文件路径的调用
- Node.js模块封装及使用
- Papilio Pro Boards
- windows安装redis, php5.5