MonobjcMonobjc Documented Class Library
SetLineFragmentRectForGlyphRangeUsedRect Method (fragmentRect, glyphRange, usedRect)
NamespacesMonobjc.AppKitNSLayoutManagerSetLineFragmentRectForGlyphRangeUsedRect(NSRect, NSRange, NSRect)

Associates the given line fragment bounds with the given range of glyphs.

Original signature is '- (void)setLineFragmentRect:(NSRect)fragmentRect forGlyphRange:(NSRange)glyphRange usedRect:(NSRect)usedRect'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void SetLineFragmentRectForGlyphRangeUsedRect(
	NSRect fragmentRect,
	NSRange glyphRange,
	NSRect usedRect
)
Public Overridable Sub SetLineFragmentRectForGlyphRangeUsedRect ( _
	fragmentRect As NSRect, _
	glyphRange As NSRange, _
	usedRect As NSRect _
)
public:
virtual void SetLineFragmentRectForGlyphRangeUsedRect(
	NSRect fragmentRect, 
	NSRange glyphRange, 
	NSRect usedRect
)
Parameters
fragmentRect (NSRect)
The rectangle of the line fragment.
glyphRange (NSRange)
The range of glyphs to be associated with fragmentRect.
usedRect (NSRect)
The portion of fragmentRect that actually contains glyphs or other marks that are drawn (including the text container’s line fragment padding. Must be equal to or contained within fragmentRect.
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)