Returns a rough numeric measure the weight of the given font.
Original signature is '- (NSInteger)weightOfFont:(NSFont *)aFont'
Available in Mac OS X v10.0 and later.
Declaration Syntax
Parameters
- aFont (NSFont)
- The font whose weight is returned.
Return Value
A rough numeric measure the weight of the given font, where 0 indicates the lightest possible weight, 5 indicates a normal or book weight, and 9 or more indicates a bold or heavier weight.
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)