MonobjcMonobjc Documented Class Library
BaselineOffsetInLayoutManagerGlyphIndex Method (layoutMgr, glyphIndex)
NamespacesMonobjc.AppKitNSTypesetterBaselineOffsetInLayoutManagerGlyphIndex(NSLayoutManager, NSUInteger)

Returns the distance from the bottom of the bounding box of a specified glyph to its baseline.

Original signature is '- (CGFloat)baselineOffsetInLayoutManager:(NSLayoutManager *)layoutMgr glyphIndex:(NSUInteger)glyphIndex'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual CGFloat BaselineOffsetInLayoutManagerGlyphIndex(
	NSLayoutManager layoutMgr,
	NSUInteger glyphIndex
)
Public Overridable Function BaselineOffsetInLayoutManagerGlyphIndex ( _
	layoutMgr As NSLayoutManager, _
	glyphIndex As NSUInteger _
) As CGFloat
public:
virtual CGFloat BaselineOffsetInLayoutManagerGlyphIndex(
	NSLayoutManager^ layoutMgr, 
	NSUInteger glyphIndex
)
Parameters
layoutMgr (NSLayoutManager)
The layout manager used for the drawing.
glyphIndex (NSUInteger)
The index of the glyph in question.
Return Value
The distance from the bottom of the bounding box of the glyph in layoutMgr specified by glyphIndex to its baseline.
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)