zoukankan      html  css  js  c++  java
  • 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是 NSNumber0表示水平,1垂直
  • 相关阅读:
    CodeForces 659F Polycarp and Hay
    CodeForces 713C Sonya and Problem Wihtout a Legend
    CodeForces 712D Memory and Scores
    CodeForces 689E Mike and Geometry Problem
    CodeForces 675D Tree Construction
    CodeForces 671A Recycling Bottles
    CodeForces 667C Reberland Linguistics
    CodeForces 672D Robin Hood
    CodeForces 675E Trains and Statistic
    CodeForces 676D Theseus and labyrinth
  • 原文地址:https://www.cnblogs.com/fuunnyy/p/8795867.html
Copyright © 2011-2022 走看看