Methods
| Modifier and Type |
Method and Description |
void |
addTemporaryAttribute(NSString attrName,
id value,
NSRange charRange) |
void |
addTextContainer(NSTextContainer container) |
NSRect |
boundingRectForGlyphRange(NSRange glyphRange,
NSTextContainer container) |
int |
characterIndexForGlyphAtIndex(int glyphIndex) |
float |
defaultBaselineOffsetForFont(NSFont theFont) |
float |
defaultLineHeightForFont(NSFont theFont) |
void |
drawBackgroundForGlyphRange(NSRange glyphsToShow,
NSPoint origin) |
void |
drawGlyphsForGlyphRange(NSRange glyphsToShow,
NSPoint origin) |
int |
getGlyphs(int glyphArray,
NSRange glyphRange) |
int |
getGlyphsInRange(NSRange glyphRange,
int glyphBuffer,
int charIndexBuffer,
int inscribeBuffer,
int elasticBuffer,
byte[] bidiLevelBuffer) |
int |
glyphIndexForCharacterAtIndex(int charIndex) |
int |
glyphIndexForPoint(NSPoint point,
NSTextContainer container,
float[] partialFraction) |
NSRange |
glyphRangeForCharacterRange(NSRange charRange,
int actualCharRange) |
NSRange |
glyphRangeForTextContainer(NSTextContainer container) |
NSRect |
lineFragmentUsedRectForGlyphAtIndex(int glyphIndex,
int effectiveGlyphRange) |
NSRect |
lineFragmentUsedRectForGlyphAtIndex(int glyphIndex,
int effectiveGlyphRange,
boolean flag) |
NSPoint |
locationForGlyphAtIndex(int glyphIndex) |
int |
numberOfGlyphs() |
int |
rectArrayForCharacterRange(NSRange charRange,
NSRange selCharRange,
NSTextContainer container,
int[] rectCount) |
int |
rectArrayForGlyphRange(NSRange glyphRange,
NSRange selGlyphRange,
NSTextContainer container,
int[] rectCount) |
void |
removeTemporaryAttribute(NSString attrName,
NSRange charRange) |
void |
setBackgroundLayoutEnabled(boolean flag) |
void |
setLineFragmentRect(NSRect fragmentRect,
NSRange glyphRange,
NSRect usedRect) |
void |
setTextStorage(NSTextStorage textStorage) |
void |
setUsesScreenFonts(boolean flag) |
NSTypesetter |
typesetter() |
NSRect |
usedRectForTextContainer(NSTextContainer container) |