zoukankan      html  css  js  c++  java
  • iOS中文本属性Attributes

    NSFontAttributeName                    //设置字体大小
    NSParagraphStyleAttributeName          //设置段落格式
    NSForegroundColorAttributeName         //设置字体的颜色
    NSBackgroundColorAttributeName         //设置背景的颜色
    NSLigatureAttributeName                //设置连体字符
    NSKernAttributeName                    //设置文字之间的距离
    NSStrikethroughStyleAttributeName      //设置删除线的样式
    NSUnderlineStyleAttributeName          //设置下划线的格式
    NSStrikethroughColorAttributeName      //设置删除线的颜色
    NSStrokeColorAttributeName             //设置中空效果的填充颜色
    NSStrokeWidthAttributeName             //设置中空效果的宽度
    NSShadowAttributeName                  //设置阴影效果
    NSTextEffectAttributeName              //设置文本的特殊效果
    NSAttachmentAttributeName              //设置文本附件
    NSLinkAttributeName                    //设置超链接
    NSBaselineOffsetAttributeName          //设置基线偏移值
    NSUnderlineColorAttributeName          //设置下划线的颜色
    NSObliquenessAttributeName             //设置字体倾斜
    NSExpansionAttributeName               //设置文本扁平化(横向拉伸)
    NSWritingDirectionAttributeName        //设置文字的书写方向
    NSVerticalGlyphFormAttributeName       //设置文字的排版方向
  • 相关阅读:
    hdu 4002 Find the maximum
    hdu 2837 坑题。
    hdu 3123
    zoj Treasure Hunt IV
    hdu 2053 Switch Game 水题一枚,鉴定完毕
    poj 1430 Binary Stirling Numbers
    hdu 3037 Saving Beans
    hdu 3944 dp?
    南阳oj 求N!的二进制表示最低位的1的位置(从右向左数)。
    fzu 2171 防守阵地 II
  • 原文地址:https://www.cnblogs.com/carlos-mm/p/6566703.html
Copyright © 2011-2022 走看看