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       //设置文字的排版方向
  • 相关阅读:
    字符串转换成整型数 atoi()
    求一个正整数各个数位上的数字之和
    求小于等于n的所有素数
    iomanip,setw(),setw: undeclared identifier
    计算机界的牛人前辈
    clrscr( )用法
    printf()
    realloc() 用法详解
    ADO和ADO.NET的区别
    C++中delete和delete[]的区别
  • 原文地址:https://www.cnblogs.com/carlos-mm/p/6566703.html
Copyright © 2011-2022 走看看