MonobjcMonobjc Documented Class Library
TraitsOfFont Method (aFont)
NamespacesMonobjc.AppKitNSFontManagerTraitsOfFont(NSFont)

Returns the traits of the given font.

Original signature is '- (NSFontTraitMask)traitsOfFont:(NSFont *)aFont'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSFontTraitMask TraitsOfFont(
	NSFont aFont
)
Public Overridable Function TraitsOfFont ( _
	aFont As NSFont _
) As NSFontTraitMask
public:
virtual NSFontTraitMask TraitsOfFont(
	NSFont^ aFont
)
Parameters
aFont (NSFont)
The font whose traits are returned.
Return Value
The font traits, returned as a mask created by combining values listed in “Constants” with the C bitwise OR operator.
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)