/** * @since Available in iOS 3.2 and later. */ public CTAttributedStringAttributes setUnderlineColor(CGColor underlineColor) { set(CTAttributedStringAttribute.UnderlineColor, underlineColor); return this; } /**
/** * @since Available in iOS 3.2 and later. */ public CTAttributedStringAttributes setForegroundColor(CGColor foregroundColor) { set(CTAttributedStringAttribute.ForegroundColor, foregroundColor); return this; } /**
/** * @since Available in iOS 3.2 and later. */ public CTAttributedStringAttributes setParagraphStyle(CTParagraphStyle paragraphStyle) { set(CTAttributedStringAttribute.ParagraphStyle, paragraphStyle); return this; } /**
/** * @since Available in iOS 3.2 and later. */ public CTAttributedStringAttributes setStrokeColor(CGColor strokeColor) { set(CTAttributedStringAttribute.StrokeColor, strokeColor); return this; } /**
/** * @since Available in iOS 3.2 and later. */ public CTAttributedStringAttributes setGlyphInfo(CTGlyphInfo glyphInfo) { set(CTAttributedStringAttribute.GlyphInfo, glyphInfo); return this; } /**
/** * @since Available in iOS 8.0 and later. */ public CTAttributedStringAttributes setRubyAnnotation(CTRubyAnnotation rubyAnnotation) { set(CTAttributedStringAttribute.RubyAnnotation, rubyAnnotation); return this; } /*</methods>*/
/** * @since Available in iOS 3.2 and later. */ public CTAttributedStringAttributes setFont(CTFont font) { set(CTAttributedStringAttribute.Font, font); return this; } /**
/** * @since Available in iOS 6.0 and later. */ public CTAttributedStringAttributes setBaselineClass(CTBaselineClass baselineClass) { set(CTAttributedStringAttribute.BaselineClass, baselineClass.value()); return this; } /**
/** * @since Available in iOS 3.2 and later. */ public CTAttributedStringAttributes setUsesForegroundColorFromContext(boolean usesForegroundColorFromContext) { set(CTAttributedStringAttribute.ForegroundColorFromContext, CFBoolean.valueOf(usesForegroundColorFromContext)); return this; } /**
/** * @since Available in iOS 3.2 and later. */ public CTAttributedStringAttributes setLigature(int ligature) { set(CTAttributedStringAttribute.Ligature, CFNumber.valueOf(ligature)); return this; } /**
/** * @since Available in iOS 3.2 and later. */ public CTAttributedStringAttributes setStrokeWidth(double strokeWidth) { set(CTAttributedStringAttribute.StrokeWidth, CFNumber.valueOf(strokeWidth)); return this; } /**
/** * @since Available in iOS 3.2 and later. */ public CTAttributedStringAttributes setSuperscript(int superscript) { set(CTAttributedStringAttribute.Superscript, CFNumber.valueOf(superscript)); return this; } /**
/** * @since Available in iOS 7.0 and later. */ public CTAttributedStringAttributes setLanguage(String language) { set(CTAttributedStringAttribute.Language, new CFString(language)); return this; } /**
/** * @since Available in iOS 3.2 and later. */ public CTAttributedStringAttributes setKern(float kern) { set(CTAttributedStringAttribute.Kern, CFNumber.valueOf(kern)); return this; } /**
/** * @since Available in iOS 4.3 and later. */ public CTAttributedStringAttributes setUsesVerticalForms(boolean usesVerticalForms) { set(CTAttributedStringAttribute.VerticalForms, CFBoolean.valueOf(usesVerticalForms)); return this; } /**
/** * @since Available in iOS 3.2 and later. */ public CTAttributedStringAttributes setUnderlineStyle(CTUnderlineStyle underlineStyle) { set(CTAttributedStringAttribute.UnderlineStyle, CFNumber.valueOf(underlineStyle.value())); return this; } /**
/** * @since Available in iOS 3.2 and later. */ public CTAttributedStringAttributes setStrokeColor(CGColor strokeColor) { set(CTAttributedStringAttribute.StrokeColor, strokeColor); return this; } /**
/** * @since Available in iOS 3.2 and later. */ public CTAttributedStringAttributes setUnderlineColor(CGColor underlineColor) { set(CTAttributedStringAttribute.UnderlineColor, underlineColor); return this; } /**
/** * @since Available in iOS 8.0 and later. */ public CTAttributedStringAttributes setRubyAnnotation(CTRubyAnnotation rubyAnnotation) { set(CTAttributedStringAttribute.RubyAnnotation, rubyAnnotation); return this; } /*</methods>*/
/** * @since Available in iOS 4.3 and later. */ public CTAttributedStringAttributes setUsesVerticalForms(boolean usesVerticalForms) { set(CTAttributedStringAttribute.VerticalForms, CFBoolean.valueOf(usesVerticalForms)); return this; } /**