NSTextBlock Class Reference
PDF
Overview
Tasks
Creating Text Blocks
Working with Dimensions of Content
Getting and Setting Margins, Borders, and Padding
Getting and Setting Alignment
Working with Color
Determining Size and Position of a Text Block
Drawing Colors and Decorations
Instance Methods
backgroundColor
borderColorForEdge:
boundsRectForContentRect:inRect:textContainer:characterRange:
contentWidth
contentWidthValueType
drawBackgroundWithFrame:inView:characterRange:layoutManager:
init
rectForLayoutAtPoint:inRect:textContainer:characterRange:
setBackgroundColor:
setBorderColor:
setBorderColor:forEdge:
setContentWidth:type:
setValue:type:forDimension:
setVerticalAlignment:
setWidth:type:forLayer:
setWidth:type:forLayer:edge:
valueForDimension:
valueTypeForDimension:
verticalAlignment
widthForLayer:edge:
widthValueTypeForLayer:edge:
Constants
Revision History
Index
Companion Guides
Text System Overview
Text Layout Programming Guide for Cocoa