MonobjcMonobjc Documented Class Library
AdvancementForGlyph Method (aGlyph)
NamespacesMonobjc.AppKitNSFontAdvancementForGlyph(UInt32)

Returns the nominal spacing for the given glyph—the distance the current point moves after showing the glyph—accounting for the receiver’s size.

Original signature is '- (NSSize)advancementForGlyph:(NSGlyph)aGlyph'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSSize AdvancementForGlyph(
	uint aGlyph
)
Public Overridable Function AdvancementForGlyph ( _
	aGlyph As UInteger _
) As NSSize
public:
virtual NSSize AdvancementForGlyph(
	unsigned int aGlyph
)
Parameters
aGlyph (UInt32)
The glyph whose advancement is returned.
Return Value
The advancement spacing in points.
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)