MonobjcMonobjc Documented Class Library
SetLineFragmentRectForGlyphRangeUsedRectBaselineOffset Method (fragmentRect, glyphRange, usedRect, baselineOffset)
NamespacesMonobjc.AppKitNSTypesetterSetLineFragmentRectForGlyphRangeUsedRectBaselineOffset(NSRect, NSRange, NSRect, CGFloat)

Sets the line fragment rectangle where the specified glyphs are laid out.

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

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void SetLineFragmentRectForGlyphRangeUsedRectBaselineOffset(
	NSRect fragmentRect,
	NSRange glyphRange,
	NSRect usedRect,
	CGFloat baselineOffset
)
Public Overridable Sub SetLineFragmentRectForGlyphRangeUsedRectBaselineOffset ( _
	fragmentRect As NSRect, _
	glyphRange As NSRange, _
	usedRect As NSRect, _
	baselineOffset As CGFloat _
)
public:
virtual void SetLineFragmentRectForGlyphRangeUsedRectBaselineOffset(
	NSRect fragmentRect, 
	NSRange glyphRange, 
	NSRect usedRect, 
	CGFloat baselineOffset
)
Parameters
fragmentRect (NSRect)
The line fragment rectangle where the glyphs in glyphRange are laid out.
glyphRange (NSRange)
The range of the specified glyphs.
usedRect (NSRect)
The portion of fragmentRect, in the NSTextContainer object’s coordinate system, that actually contains glyphs or other marks that are drawn (including the text container’s line fragment padding). The usedRect must be equal to or contained within fragmentRect.
baselineOffset (CGFloat)
The vertical distance in pixels from the line fragment origin to the baseline on which the glyphs align.
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)