MonobjcMonobjc Documented Class Library
ParagraphSpacingBeforeGlyphAtIndexWithProposedLineFragmentRect Method (glyphIndex, rect)
NamespacesMonobjc.AppKitNSTypesetterParagraphSpacingBeforeGlyphAtIndexWithProposedLineFragmentRect(NSUInteger, NSRect)

Returns the number of points of space—added before a paragraph—that is in effect before the specified glyph.

Original signature is '- (CGFloat)paragraphSpacingBeforeGlyphAtIndex:(NSUInteger)glyphIndex withProposedLineFragmentRect:(NSRect)rect'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual CGFloat ParagraphSpacingBeforeGlyphAtIndexWithProposedLineFragmentRect(
	NSUInteger glyphIndex,
	NSRect rect
)
Public Overridable Function ParagraphSpacingBeforeGlyphAtIndexWithProposedLineFragmentRect ( _
	glyphIndex As NSUInteger, _
	rect As NSRect _
) As CGFloat
public:
virtual CGFloat ParagraphSpacingBeforeGlyphAtIndexWithProposedLineFragmentRect(
	NSUInteger glyphIndex, 
	NSRect rect
)
Parameters
glyphIndex (NSUInteger)
The index of the glyph in question.
rect (NSRect)
The line fragment rectangle of the first line in the paragraph.
Return Value
The number of points of space—added before a paragraph—that is in effect before the glyph specified by glyphIndex.
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)