MonobjcMonobjc Documented Class Library
LineFragmentUsedRectForGlyphAtIndexEffectiveRange Method (glyphIndex, effectiveGlyphRange)
NamespacesMonobjc.AppKitNSLayoutManagerLineFragmentUsedRectForGlyphAtIndexEffectiveRange(NSUInteger, NSRange%)

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

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

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSRect LineFragmentUsedRectForGlyphAtIndexEffectiveRange(
	NSUInteger glyphIndex,
	ref NSRange effectiveGlyphRange
)
Public Overridable Function LineFragmentUsedRectForGlyphAtIndexEffectiveRange ( _
	glyphIndex As NSUInteger, _
	ByRef effectiveGlyphRange As NSRange _
) As NSRect
public:
virtual NSRect LineFragmentUsedRectForGlyphAtIndexEffectiveRange(
	NSUInteger glyphIndex, 
	NSRange% effectiveGlyphRange
)
Parameters
glyphIndex (NSUInteger)
The glyph for which to return the line fragment used rectangle.
effectiveGlyphRange (NSRange%)
If not NULL, on output, the range for all glyphs in the line fragment.
Return Value
The used rectangle for 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)