MonobjcMonobjc Documented Class Library
LineFragmentRectForGlyphAtIndexEffectiveRange Method (glyphIndex, effectiveGlyphRange)
NamespacesMonobjc.AppKitNSLayoutManagerLineFragmentRectForGlyphAtIndexEffectiveRange(NSUInteger, NSRange%)

Returns the rectangle for the line fragment in which the given glyph is laid out and (optionally), by reference, the whole range of glyphs that are in that fragment.

Original signature is '- (NSRect)lineFragmentRectForGlyphAtIndex:(NSUInteger)glyphIndex effectiveRange:(NSRangePointer)effectiveGlyphRange'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSRect LineFragmentRectForGlyphAtIndexEffectiveRange(
	NSUInteger glyphIndex,
	ref NSRange effectiveGlyphRange
)
Public Overridable Function LineFragmentRectForGlyphAtIndexEffectiveRange ( _
	glyphIndex As NSUInteger, _
	ByRef effectiveGlyphRange As NSRange _
) As NSRect
public:
virtual NSRect LineFragmentRectForGlyphAtIndexEffectiveRange(
	NSUInteger glyphIndex, 
	NSRange% effectiveGlyphRange
)
Parameters
glyphIndex (NSUInteger)
The glyph for which to return the line fragment rectangle.
effectiveGlyphRange (NSRange%)
If not NULL, on output, the range for all glyphs in the line fragment.
Return Value
The line fragment in which the given glyph is laid out.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)